Page 1 of 1
Posted: Sun Mar 03, 2013 5:24 pm
I'm using the pre-loaded SD card from element14. Does it have pygame included? If so, is does anyone know of a really simple (as in complete programming novice) user guide for it.
If it isn't included, is there a similarly numpty-proof guide to installing it onto either the card or a flash drive?
Thanks, and apologies for being a bit useless.
Posted: Sun Mar 03, 2013 5:41 pm
I don't know if its that version but it is in the latest if you install that. Note its for python 2.7 not v3.
Posted: Sun Mar 03, 2013 5:57 pm
Posted: Sun Mar 03, 2013 6:04 pm
Got to say that cheatsheet looks a bit busy and intimidating for a complete novice. Thanks for taking the time though.
Posted: Sun Mar 03, 2013 6:30 pm
OK. I found it a good reference.
Are you trying to do anything in particular ?
Posted: Sun Mar 03, 2013 6:51 pm
Just been following the Python exercises in the first couple of issues of The MagPi. Still don't know enough about programming to try anything off my own bat.
I'd never done any programming at all before getting my Pi, so it really does need to be as basic (no pun intended) as possible.
Posted: Sun Mar 03, 2013 7:27 pm
Having just been looking through the Python Pit articles in the pdf's of The MagPi, it looks like I may need to rethink things.
Other than the very first issue, it looks like some prior knowledge of programming is needed, which I don't have.
I was hoping to be able to avoid spending 30-odd quid on a book in order to learn Python, but it's looking at the moment like I might just have to bite the bullet.
Posted: Sun Mar 03, 2013 8:05 pm
Around the time I got my first Pi, last april, it was my birthday, so I asked for a particular python book, as its always difficult to buy a present for the guy who has everything
Anyway, I got a quarter of the way throught it, but now whenever I,m trying to do something in particular, I just google it. There's loads of tutorials and help out out there.
And python is so versatile too - with plenty of add on libraries and tools. So if you want to avoid spending any money, you don't need to.
Then again, it is nice to have a book sometimes.............
Posted: Sun Mar 03, 2013 8:11 pm
My problem is, because I'n completely new to programming, not just to Python, I really need to learn from the ground up. That being the case I can't just think of a project and work out how to get there as I don't even understand the basics of programming.
A real "idiot's guide" is what's needed
Posted: Sun Mar 03, 2013 8:51 pm
Posted: Sun Mar 03, 2013 8:59 pm
I too am a complete novice, I got the book Raspberry PI User Guide by Eben Upton and Gareth Halfacree which I have found very usefull.
Part of it explains some basic python code that prints "Hello World" plus making a simple calculator, making a snake game and a program to monitor users connected to an internet relay chat channel.
It also mentions further reading at
The official Beginners Guide to Python at http://wiki.python.org/moin/BeginnersGuige
Other places are mentioned as well.
As I said, as a complete novice I recommend this bit of reading.
Hope this helps
Posted: Sun Mar 03, 2013 9:03 pm
Posted: Sun Mar 03, 2013 9:05 pm
Posted: Mon Mar 04, 2013 6:03 am
I've got the Raspberry Pi user guide. It seems OK as far as it goes, but doesn't really explain why you're doing what you're doing, so although I could do the exercises, I didn't come away with much of an understanding.
I'll give the Educational Manual a go and see how I get on.
Posted: Mon Mar 04, 2013 4:52 pm
Maybe try this http://learnpythonthehardway.org/
The 'official' Python tutorial is not too bad either (but then again, I have previous programming experience from other languages, so might not see this similarly) http://docs.python.org/2/tutorial/
Posted: Mon Mar 04, 2013 8:02 pm
I think this series of videos are very good. And you can pause and rewind which is very helpful:
http://www.youtube.com/playlist?list=PL ... GdEP3bAWzO
Posted: Mon Mar 04, 2013 8:55 pm
At the link there are 2 books available as PDF downloads and of you like them you can buy the print versions on Amazon.
Invent Your Own Computer Games with Python
Gives a great introduction to Python and assumes no knowledge.
Making Games with Python & Pygame
This obviously covers pygame.
The games are actually the ones provided in the Raspbian distro so you would have the source if you have Raspbian.
The pair of these books are great.