This python script is usefull for uploading images to imageshack via the command line.

The original script found in an old post in python’s mailing list is not complete. A user with nick Agiofws on GrIRC-net expanded it a bit and used it together with a bash script in order to get the url of the uploaded image. What I did was to implement a regexp search for a “paste-friendly” url at the bottom of the python script.

Feel free to use it, and change it as you wish: (You need to gunzip it first.)