Feed Sign in with OpenID OpenID

Simon Willison’s Weblog

Python script shell integration

In another silly Python/Windows hack, Hans Nowak shows how a simple Python script to move a file up to its parent directory can be added to the contextual menu for all Windows files. I can think of all kinds of useful tricks that can be enabled using this tool: instant uploading of a file to an online Photo Gallery for example.

This is Python script shell integration by Simon Willison, posted on 11th August 2003.

View blog reactions

Next: Multi part forms with Javascript

Previous: Improved FormProcessor class

4 comments

  1. I keep getting "database connection failed" everywhere on the site...

    KO - 12th August 2003 05:47 - #

  2. So have I. It's been happening for a week or two, and much moreso during peak hours, up to once every three requests, for me.

    Jordan - 12th August 2003 06:33 - #

  3. It's a persistant connection problem we haven't tracked down yet. Simon, switch from mysql_pconnect() to using mysql_connect() and it'll fix it.

    Tim - 12th August 2003 08:29 - #

  4. Done; thanks Tim :)

    Simon Willison - 12th August 2003 09:12 - #

Comments are closed.

Previously hosted at http://simon.incutio.com/archive/2003/08/11/shellIntegration

A django site