Also rearranged some code to work with emacs python mode. :)
Attach a file by drag & drop or click to upload