gpambrozio/PythonScripts — pull request #2 by mgrandi (2012-03-02 05:49:59+00:00)
Title: Improvements

Hey! i was the guy who commented on your blog, i changed a few things (like changing all of the path concatenations to os.path.join() , changed all the open() statements to be used with the "with" statements, and used codecs.open() instead of open() (because i personally like things being read and saved in utf-8, and since python2 doesn't have the encoding parameter in the normal open() function, you have to use codecs.open(). I also added some diagnostic messages so you are not just staring at a terminal waiting for it to finish.

you were lucky, since the python docs are really easy to make into a docset, the as3 docs which i did, not so easy (as you can see in my fork, the master branch) =P