new to python
I wanna teach myself the latest python soon, i hope. I've got this book called Dive into python 3. Is this a good book to begin with? I wanna learn the entire language. Which others books do i need? Which book do i need before or after reading dive into python 3?
Re: new to python
The best way to learn from my experience is start with something easy, and program for it. Books are nice, if you have the time for it.
For instance, first program a number guessing game. The user has 10 tries to guess a number between 1 and 100, and the program tells them if they are high or low. If you really want to get fancy, make a scoreboard with the top 10 tries.
The move on to making a small adventure game, with 10 rooms. The user can move between the rooms using whatever controls you give them, and even interact with something in the rooms. Once again if you want to get fancy, create a dynamic map on the upper right that gives them a rough diagram of where they are.
Ever time you get stumped and don't know how to do something, use the book or use google to find the answer. This is the fastest way to learn programming languages in my experience.
For instance, first program a number guessing game. The user has 10 tries to guess a number between 1 and 100, and the program tells them if they are high or low. If you really want to get fancy, make a scoreboard with the top 10 tries.
The move on to making a small adventure game, with 10 rooms. The user can move between the rooms using whatever controls you give them, and even interact with something in the rooms. Once again if you want to get fancy, create a dynamic map on the upper right that gives them a rough diagram of where they are.
Ever time you get stumped and don't know how to do something, use the book or use google to find the answer. This is the fastest way to learn programming languages in my experience.
Re: new to python
Have you programmed before, if so which language(s) and for how long? Have you done anything with python yet? Are you in school? Are you wanting to learn python for a job? For fun? There are lots of factors to consider as to which book is best.yanik wrote:I wanna teach myself the latest python soon, i hope. I've got this book called Dive into python 3. Is this a good book to begin with? I wanna learn the entire language. Which others books do i need? Which book do i need before or after reading dive into python 3?
Francois
http://raspberry-python.blogspot.com - http://www.3dFutureTech.info - @f_dion
http://raspberry-python.blogspot.com - http://www.3dFutureTech.info - @f_dion
Re: new to python
I wanna learn python for fun. Does the book dive into python 3 teach u about the latest python version? Or is it about an older version?
Re: new to python
http://getpython3.com/diveintopython3/
Dive Into Python 3 covers Python 3 and its differences from Python 2. Compared to Dive Into Python, it’s about 20% revised and 80% new material. The book is now complete
Dive Into Python 3 covers Python 3 and its differences from Python 2. Compared to Dive Into Python, it’s about 20% revised and 80% new material. The book is now complete
http://www.raspians.com - always looking for content feel free to ask to have it posted. Or sign up and message me to become a contributor to the site. Raspians is not affiliated with the Raspberry Pi Foundation. (RPi's + You = Raspians)
Re: new to python
I just finished reading that python has a new release. I wanna learn it for fun. Please tell me which books i need in order to learn the latest release of python?
Re: new to python
Python 3 is the latest major release, so you'd want to look for books based on Python 3 (not 2.x).
Re: new to python
But i can't find those books. That is y i'm herebillb wrote:Python 3 is the latest major release, so you'd want to look for books based on Python 3 (not 2.x).
Re: new to python
Oh. Well here:
Various books (start with Introductory):
http://wiki.python.org/moin/PythonBooks
Or this one is free for the online/PDF version:
Invent Your Own Computer Games with Python
And I personally like O'Reilly's "Head First" series of programming books:
Head First Python
http://shop.oreilly.com/product/0636920003434.do
And of course there's Google ...
http://lmgtfy.com/?q=python+3+books
Various books (start with Introductory):
http://wiki.python.org/moin/PythonBooks
Or this one is free for the online/PDF version:
Invent Your Own Computer Games with Python
And I personally like O'Reilly's "Head First" series of programming books:
Head First Python
http://shop.oreilly.com/product/0636920003434.do
And of course there's Google ...

http://lmgtfy.com/?q=python+3+books
-
- Posts: 18
- Joined: Tue Sep 25, 2012 6:29 pm
Re: new to python
QFE! Learning to program doesn't come from a book, but from playing around and building code.3870x2 wrote:The best way to learn from my experience is start with something easy, and program for it. Books are nice, if you have the time for it.
For instance, first program a number guessing game. The user has 10 tries to guess a number between 1 and 100, and the program tells them if they are high or low. If you really want to get fancy, make a scoreboard with the top 10 tries.
The move on to making a small adventure game, with 10 rooms. The user can move between the rooms using whatever controls you give them, and even interact with something in the rooms. Once again if you want to get fancy, create a dynamic map on the upper right that gives them a rough diagram of where they are.
Ever time you get stumped and don't know how to do something, use the book or use google to find the answer. This is the fastest way to learn programming languages in my experience.
- jackokring
- Posts: 818
- Joined: Tue Jul 31, 2012 8:27 am
- Location: London, UK
- Contact: ICQ
Re: new to python
I agree with most of the above, but would qualify that 99% of the time learning to program comes from programming, and 1% of the time 'The Art of Computer Programming' book and similar come in very useful to learn.
But if you add brackets around your parameters in python 3 of many python 2 examples, it will work.
But if you add brackets around your parameters in python 3 of many python 2 examples, it will work.
Pi[NFA]=B256R0USB CL4SD8GB Raspbian Stock.
Pi[Work]=A+256 CL4SD8GB Raspbian Stock.
My favourite constant 1.65056745028
Pi[Work]=A+256 CL4SD8GB Raspbian Stock.
My favourite constant 1.65056745028
Re: new to python
This book is really good! I used it to teach myself how to program in python. It is not a book that teaches you evry single thing about python, but it is a good beginning. I belive it also has a sequal or two, if you look on the website.billb wrote: Or this one is free for the online/PDF version:
Invent Your Own Computer Games with Python
Re: new to python
Head first Python is a great book to learn Python 3. Do as the book suggests and actually write the code out for the examples. That is how you'll learn the most, by actually writing programs. Good Luck!
Re: new to python
PPl, i wanna learn python 3.3.0. It is different from simply python 3. That's y im here. Thx 4 all answers, but i can't find anything about this new release of python, please help me.
-
- Posts: 319
- Joined: Sun Aug 19, 2012 5:56 am
- Location: Finland
Re: new to python
http://docs.python.org/py3k/whatsnew/3.3.htmlyanik wrote:PPl, i wanna learn python 3.3.0. It is different from simply python 3. That's y im here. Thx 4 all answers, but i can't find anything about this new release of python, please help me.
Re: new to python
@yanik: Just start to learn Python already. You are asking these questions for almost two weeks now instead of diving in. If you really going to use Python you may be forced to use any of the recent versions anyway, that is anything from Python 2.7.x to 3.x. It's not that 3.3 is a completely different language from 3.2. Even 2.7 and 3.3 are quite close. Someone who learned 2.x should be able to pick up the differences to 3.x easily.
Code: Select all
while not self.asleep():
sheep += 1
Re: new to python
try this:
http://www.codecademy.com/tracks/python
they teach python here hands on!
should be easy enough
http://www.codecademy.com/tracks/python
they teach python here hands on!
should be easy enough