Page 1 of 1

Learning Python on Pi

Posted: Wed Jan 22, 2014 12:38 am
by r3ndrag
Hey all,
I wish to learn Python programming language on Pi. What is the best course of action to take from a beginners start point? What are some good programs to practice developing with ect? I want to eventually develop my own software and games but don't know were to start. How did you start learning? :?: :?:

Re: Learning Python on Pi

Posted: Wed Jan 22, 2014 12:51 am
by ame
1. Go to Google.
2. Type "learn python" into the search box.
3. Follow your nose.

Actually, I found the book "Dive into Python" to be a well-paced introduction to doing useful things with Python, but I was always using Google to find other examples and references.

If you have access to a local library then they may have some Python books you can borrow. I sometimes find that having a printed book to refer to is much better than flipping between different windows looking at stuff.

Finally, the best way to learn is to have a specific task in mind, then write a program for that task. It could be something trivial, or it could be to rewrite something you've already done in another language.

Have fun!

Re: Learning Python on Pi

Posted: Wed Jan 22, 2014 1:07 am
by r3ndrag
Thank you :)
It seems I need to figure out what I want to do, of course a nice "Hello World" will be first, but as for a specific task that will take some thought. Any ideas for something simple? Maybe just a HDMI resolution changer. Dunno, will have a good think about it. I also wish to ask, is Python the best or one of the better languages for game design? Thanks

Re: Learning Python on Pi

Posted: Wed Jan 22, 2014 1:28 am
by ame
Many people say that Python is one of the better languages for anything, but these days it's as much due to personal preference as any technical difference. Since you are starting out then you're not going to hit any architectural barriers, and anything you learn is bound to be useful anyway (even if you learn that Python is not for you, or not appropriate for what you are doing).

For games, take a look at pygame. It might be what you want. Or not.

http://www.pygame.org/docs/tut/intro/intro.html

Re: Learning Python on Pi

Posted: Wed Jan 22, 2014 2:37 am
by Reynaldo2333
also look for projecteuler and do those problems with python

on coursera.org perhaps you can find some courses on python.
for more information on python:

http://docs.python.org/3.2/
http://inventwithpython.com/chapters/
http://stephensugden.com/crash_into_python/
http://www.greenteapress.com/thinkpytho ... index.html
http://www.youtube.com/watch?v=JOuCuLHmk3o

Re: Learning Python on Pi

Posted: Sun Jan 26, 2014 4:34 am
by Bazzer
Good online guide that I've been working my way through:
http://learnpythonthehardway.org/book/