Learn Python Through Public Data Hacking
David Beazley (@dabeaz)
本帖隐藏的内容
A tutorial presented at PyCon'13, March 13, 2013. Santa Clara, California.
Resources
- Lecture Slides (PDF)
- Data files (29MB)
- PyCon 2013 Video (pyvideo.org)
Code Samples
The following code fragments are just to give you the basics of getting started. When coding the solution, you'll need to expand these. You should play around and try things out. Don't be afraid to experiment.
- get_rt22.py. Download and save XML data from CTA bus tracking site.
- find_north.py. Parsing XML.
- pots_by_zip.py. Example of tabulating data with a dictionary.
- outcomes.py. Make a pie-chart showing results of food/restaurant inspections.


雷达卡





京公网安备 11010802022788号







