D9M2W
Posts: 37
Joined: Tue Dec 30, 2014 5:34 pm
Location: West Midlands, UK

New Pi User - Want to Learn Python

Tue Dec 30, 2014 6:18 pm

Hello,

So I have just got myself a new Raspberry Pi and got it all wired up with a keyboard, mouse, HD monitor and an Ethernet cable. I also have the Raspbian OS installed on my SD card, with everything all booting up fine.

Now I would like some help, or suggestions on what to do.

I would like to learn some Python, to help keep me both entertained and to also increase my knowledge in computing and also make me desirable in the world of computing and employ-ability.

I have purchased the following book as both reference and a starting point to help with programming:

http://www.amazon.co.uk/Programming-Ras ... spberry+pi

And also have seen this as a recommended site to help learn Python:

http://learnpythonthehardway.org/

Does anyone have any ideas on where/how to learn Python and also any ideas of projects to further help with both programming and learning the Raspberry Pi


D9M2W
Posts: 37
Joined: Tue Dec 30, 2014 5:34 pm
Location: West Midlands, UK

Re: New Pi User - Want to Learn Python

Tue Dec 30, 2014 7:04 pm

Thank you they are some good links

The MagPi magazines look brilliant, how do you find them? :) (or any other readers, please, do chip in!)

gordon77
Posts: 4295
Joined: Sun Aug 05, 2012 3:12 pm

Re: New Pi User - Want to Learn Python

Tue Dec 30, 2014 7:21 pm

Just click on the copies you see at the magpi link, 29 etc, and then you can view / download the issues


D9M2W
Posts: 37
Joined: Tue Dec 30, 2014 5:34 pm
Location: West Midlands, UK

Re: New Pi User - Want to Learn Python

Tue Dec 30, 2014 8:27 pm

gordon77 wrote:Just click on the copies you see at the magpi link, 29 etc, and then you can view / download the issues
Ahh thank you thats great you can get free PDFs of them!

D9M2W
Posts: 37
Joined: Tue Dec 30, 2014 5:34 pm
Location: West Midlands, UK

Re: New Pi User - Want to Learn Python

Tue Dec 30, 2014 8:27 pm

Theres a lot of resources of here, thank you!

User avatar
DougieLawson
Posts: 36544
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: New Pi User - Want to Learn Python

Tue Dec 30, 2014 8:34 pm

gordon77 wrote:Just click on the copies you see at the magpi link, 29 etc, and then you can view / download the issues
New users should start here: http://www.themagpi.com/issue/issue-se1/
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

D9M2W
Posts: 37
Joined: Tue Dec 30, 2014 5:34 pm
Location: West Midlands, UK

Re: New Pi User - Want to Learn Python

Tue Dec 30, 2014 8:37 pm

Yes I've just downloaded that article and am going to have a read through it :) Thanks very much.

Does anyone have any ideas of what projects to use Python for? As learning is best when you create something etc, what should aim to create as a project etc

User avatar
rurwin
Forum Moderator
Forum Moderator
Posts: 4258
Joined: Mon Jan 09, 2012 3:16 pm
Contact: Website

Re: New Pi User - Want to Learn Python

Tue Dec 30, 2014 8:46 pm

Python for Informatics: Exploring Information -- Charles Severance
http://www.py4inf.com/
Full book in multiple formats with a Creative Commons license.
It starts from the basics, so it's a good introduction.

Also, nobody has mentioned the official Python tutorial: https://docs.python.org/2/tutorial/index.html

User avatar
rurwin
Forum Moderator
Forum Moderator
Posts: 4258
Joined: Mon Jan 09, 2012 3:16 pm
Contact: Website

Re: New Pi User - Want to Learn Python

Tue Dec 30, 2014 8:59 pm

I'd start off with simple maths problems: factorials, Fibonacci and so forth. Move on to Newton-Raphson maybe.
Then some file and text problems. There's a list of words at http://wordlist.aspell.net/ parse the list and then output all the words that match a certain pattern. For example all the words that don't obey "i before e except after c".
Then data structures. Try the guess the animal game. http://cs.calvin.edu/books/c++/engr-sci ... ystems.pdf
Then maybe a text adventure game? Maybe catalogue your toy car collection?

When you've got tired of text only, pick a GUI toolset, QT is probably best for the RaspPi.
Or PyGame.
Or a GPIO library
Or ...

D9M2W
Posts: 37
Joined: Tue Dec 30, 2014 5:34 pm
Location: West Midlands, UK

Re: New Pi User - Want to Learn Python

Tue Dec 30, 2014 9:32 pm

Thats some very good ideas actually.. I think as a gamer I will try out some small game as I progress through these ideas and links etc, I play enough of them maybe its time to make, no matter how small it may be!

I'm, starting to load my kindle up with books etc to help me learn too

Thanks very much for your reply and links, I am trying to consolidate these into a word document to help structure myself some learning :)

Return to “Python”