Auto execute python in USB flash disk

Tim Golden mail at timgolden.me.uk
Tue Mar 27 19:42:36 CEST 2007


Brian Erhard wrote:
> Is there
> a way to auto execute a python script after a user double clicks to
> open a folder on the USB drive? How can you capture that double click
> event on a specific folder?

That would depend on what desktop / Operating System you're
using. If it's Windows, you need a shell extension (which
is non-trivial to understand and write). If it's one of the
Linux desktops, someone else had better chip in!

TJG



More information about the Python-list mailing list