Hacker News new | ask | show | jobs
by tyng 4329 days ago
Ever since completing the Codeacademy Python course, I've been looking for simple but practical python projects that can help me learn to apply my skills. But so far the projects I found have been either too difficult or too simple (textbook like). I wonder if there is a more structured project-based learning material out there? Any suggestions?
12 comments

This sounds exactly like what you're looking for! [0]

You’re a new coder. You’re interested in learning how to code, not just syntax. You’re sick of monkey-see, monkey-do types of tutorials.

Let’s set your teeth into some real coding. Your hand will be held in the beginning, but as you progress you’ll see yourself approaching the projects more comfortably.

[0] - http://newcoder.io/

This looks cool! Will give it a go over the weekend. Thanks for sharing!
Know the feeling. Same for me (beginner, completed Codeacademy...). The easy exercises here http://www.reddit.com/r/dailyprogrammer are within our reach and there's always at least one solution implemented with python.
Thanks for sharing! And good to know there're fellow programming learners out there sharing my pain/passion. This looks like what I was looking for. Will give it a go over the weekend!
https://github.com/aosabook/500lines

This is a collection of real applications that are written in 500 lines or less. The goal is to teach python through real projects that are not too complicated to understand.

Hope this helps.

It's not specifically for python, but I have found the exercises at http://programmingpraxis.com to be really good for this kind of thing (and the comments will usually contain some solutions in python).
This still seems more mathematical/text-book like than practical examples, reminds me of https://projecteuler.net/ which is fun to do. Thanks for sharing!
This in general is my issue with books about (learning) any subject; there are a lot of beginners books and web sites and there are a lot also of specialized books that go into details but there are few or no good intermediate books (to start the mastery after the basics). I find that the famous books that people always bring up are precisely in this category.
I would recommend Learn Code the hard way series http://learnpythonthehardway.org/book/ http://learncodethehardway.org/ Its pretty good!
For Ruby, I enjoyed http://rubykoans.com . There is a python port (which I haven't tried) at https://github.com/gregmalcolm/python_koans .
You should really pick something you care about and solve a problem in that area. You will be more motivated, you will learn faster and you choose the complexity!
Problem is what I want to build is far more complex than what I can build right now, need to take baby steps ;)
My suggestion would be to try doing it anyway and see how far you get. Even if it's some type of machine learning / AI thing, you might be able to do something like throw your data Alchemy ( demo: http://www.alchemyapi.com/products/demo/alchemylanguage/ ) and have it do the "hard part".

You'll learn a lot along the way and you'll then know exactly what you need to focus on more if it totally doesn't work, but you'll likely find enough success in whatever it is that you'll be very motivated to build v2 learning from all your mistakes along the way :)

What sort of projects do you have in mind? I say try to tackle one of them and look for answers to your questions along the way.
Just build something for yourself. Something complicated but not too complicated. Best way to learn in my opinion.
Highly recommend https://projecteuler.net/
Yes I've done a number of these challenges, agree it's really good and would recommend to others. However this is still quite mathematical/text-book like (in a challenging and fun way though).