Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This could easily be expanded to 60 days of Python, but it provides a nice overview and everything included is clearly explained. Perhaps add a full section on generators and yield/yield from, those are useful, and maybe itertools as well? Also dict comprehensions are nice, they could go in as an addendum to list comprehensions.

It might be a good idea to introduce virtual environments earlier, as they help keep things from getting too snarled up dependency-wise.

In terms of modules, pathlib is very useful, if you're going to be collecting data from web scraping or similar then automating the process of creating directories and transferring files to them. Subprocess is another good one, for coordinating multiple activities in one script.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: