Live data from Hacker News

Ask HN: Intermediate Python learning resources?

news.ycombinator.com

1–10 of 43 posts

Ask HN: Intermediate Python learning resources?

#1
So I've completed Codecademy's course on Python, I have some experience fiddling with Flask and putting together random Python scripts. Generally, when I want to build something that I've never built before, I look up how to do it on Stackoverflow and manage to understand most of the things.

How can I take my knowledge to the next level?

Free learning resources are preferred. Hopefully ones you have used yourself when in my position.

Thanks!

Re: Ask HN: Intermediate Python learning resources?

#2
I can't really say that I'm one to advise someone on learning to code but....

At some point you just have to start coding and there you'll push your boundaries. I fooled around online python learning but didn't get far until I built a web scrapper. I completely over engineered a one time use script just to learn... IMHO its what can I build to learn?

Re: Ask HN: Intermediate Python learning resources?

#3
I think Udacity.com has a great list of sources about programming from beginning to advanced. Most of their classes are in Python, but the concepts are applicable to any language. More importantly, they try to teach fundamental concepts that would be useful in a broad range applications. I would highly recommend CS262 Programming Languages: Building a Web Browser.

Re: Ask HN: Intermediate Python learning resources?

#4
I'm in a very similar position.

If you really like Codeacademy, there are non-track exercises that involve Python in the API section [0] and a couple of Python challenges [1][2] that aren't listed.

What I'm doing now:

* Solving exercises on Project Euler in Python. [3]

* Working through each example in the Python Cookbook[4]. It was just updated to the third edition.

* Watched Guido's Painless Python talks from a few years ago [5]. I found his concise explanations of language features really helpful.

Some things I intend to do:

* Finish working through Collective Intelligence [6]. The examples are written in Python.

* Work through Introduction to Algorithms [7]. The course uses Python.

* Read, understand and give a shot at extending Openstack [8] code.

-----

0: http://www.codecademy.com/tracks/apis

1: http://www.codecademy.com/courses/python-intermediate-en-NYX...

2: http://www.codecademy.com/courses/python-intermediate-en-VWi...

3: http://projecteuler.net/

4: http://amzn.com/1449340377

5: http://www.youtube.com/watch?v=bDgD9whDfEY

6: http://amzn.com/0596529325

7: http://ocw.mit.edu/courses/electrical-engineering-and-comput...

8: http://en.wikipedia.org/wiki/OpenStack

Re: Ask HN: Intermediate Python learning resources?

#5
Subscribe to the Pycoder's weekly email list [1]. I love looking through the different libraries - you can certainly learn a lot from digging through source code.

I just found out about Neckbeard Republic [2] today - it looks to be similar to Railscasts. I haven't watched any of their stuff yet, but I plan to.

1 - http://pycoders.com/

2 - https://www.neckbeardrepublic.com/screencasts/

Re: Ask HN: Intermediate Python learning resources?

#6
Once you're past syntax and basic concepts, he best thing is probably just to write programs. Maybe try some libraries out. And when you do something you've never done before, (at least on small scale things) do a plan that's all your own work (and things from the docs), and then refer to google, stackoverflow etc. when you have problems that you can't figure out.

As well as that, look into some of the advanced language features and idioms, and try to use them in your programs, or rewrite old programs to use them.

Re: Ask HN: Intermediate Python learning resources?

#7
If you work with other languages in addition to Python, it's easy to fall back into old habits. You should internalize the content from these two excellent presentations:

Raymond Hettinger's "Transforming Code into Beautiful, Idiomatic Python":

http://pyvideo.org/video/1780/transforming-code-into-beautif...

(pyvideo.org has a lot of other great talks and presentations.)

Ned Batchelder's "Loop Like A Native":

http://nedbatchelder.com/text/iter.html

Python Module of the Week is also an excellent resource:

http://pymotw.com/2/

Re: Ask HN: Intermediate Python learning resources?

#10
post #3

I think Udacity.com has a great list of sources about programming from beginning to advanced. Most of their classes are in Python, but the concepts are applicable to any language. More importantly, they try to teach fundamental concepts that would be useful in a broad range applications. I would highly recommend CS262 Programming Languages: Building a Web Browser.

"Design of Computer Programs" contains lots of advanced concepts and programming puzzles...
Post reply on HN