I plan on learning CS from my Python book before class starts (next semester though).
I am learning computer science from a Python Programming book. My question is, can I get some examples of good programs to write to begin learning programming? Once I finish the book, I want to start writing my own programs. I'm aware Python has a lot of power, but it's so versatile, not sure what it is I should try writing.
Preferably not something too advanced, but challenging enough to help me learn the building blocks of the language.
If you're interested in algorithmical and mathematical problems to solve, Project Euler has quite a few. At least a lot of other people have found them both entertaining and educational to solve, and Python is certainly a good language for the kind of problems.
Google Code has a great coarse for python: Google Code > Python Coarse
It includes some exercise projects with descriptions of what to make and basic skeleton files, that make for good beginner projects: google-python-exercises.zip
You can also watch the videos of the class as it was presented to Google staff. Search for: "Google Python Class Video"
I found these resources very helpful for learning python (just started 1 week ago). So far I've written a small command line HTTP client (with cookies) and a command line windows registry editor. Python is great, can't wait to start doing CGI with it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With