Title: 30 Days of Python: Days 20-30
Tags: python
%%%
And we're done! I have created 30 python scripts this month (only three of which were too lame to post). It's been a lot of fun, and now I feel much more comfortable with using Python.
It's amazing how easy python is to work with, really. Some of these tasks I expected to be pretty hard, but there are python modules to help you solve just about any problem.
Here are the last 11 scripts:
[Day 20][20]: Unpickled the object saved in Day 19.
[Day 21][21]: Created and tested a custom exception.
Day 22: One last lame script, sorry.
[Day 23][23]: Played a bit with the Twitter API.
[Day 24][24]: Parsed a file from the Metafilter Infodump to see who had the most deleted Ask Metafilter questions.
[Day 25][25]: Created an Metafilter Data Dump parser that loads most of the data into python classes (excluding comment data, favorites data, and contacts data).
[Day 26][26]: Created a script that uses the Google Maps API to determine which of several addresses is closest to a given addresses. (I'm hunting for an apartment.)
[Day 27][27]: Revised Day 25 and converted it into a module for easy use in scripts (like [this one][27a]).
[Day 28][28]: Tried out a really easy to use [python twitter][ptwitter] module.
[Day 29][29]: Used python-markdown to convert [markdown][md] text into HTML.
[Day 30][30]: Revised 29; now it posts a markdown-encoded text file [like this one][blogtxtfile] to my blog as a draft using xmlrpclib.
Thanks to all the hard-working folks who make python and python modules available for everyone to use for free.
[20]: http://www.jdharper.com/downloads/30DaysOfPython/20.py
[21]: http://www.jdharper.com/downloads/30DaysOfPython/21.py
[23]: http://www.jdharper.com/downloads/30DaysOfPython/23.py
[24]: http://www.jdharper.com/downloads/30DaysOfPython/24.py
[25]: http://www.jdharper.com/downloads/30DaysOfPython/25.py
[26]: http://www.jdharper.com/downloads/30DaysOfPython/26.py
[27]: http://www.jdharper.com/downloads/30DaysOfPython/MefiInfoDump.py
[27a]: http://www.jdharper.com/downloads/30DaysOfPython/27a.py
[28]: http://www.jdharper.com/downloads/30DaysOfPython/28.py
[29]: http://www.jdharper.com/downloads/30DaysOfPython/29.py
[30]: http://www.jdharper.com/downloads/30DaysOfPython/30.py
[ptwitter]: http://code.google.com/p/python-twitter/
[md]: http://daringfireball.net/projects/markdown/
[blogtxtfile]: http://www.jdharper.com/downloads/30DaysOfPython/30DaysBlogPost.txt