Auto execute python in USB flash disk

Graeme Glass graemeglass at
Wed Mar 28 14:22:06 CEST 2007

Or take a look at (Unless like Brain said,
you are doing this to learn)

On Mar 27, 11:17 pm, Larry Bates <lba... at> wrote:
> Brian Erhard wrote:
> > I am still fairly new to python and wanted to attempt a home made
> > password protection program.  There are files that I carry on a USB
> > flash drive that I would like to password protect.  Essentially, I
> > would like to password protect an entire directory of files.  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?
> > Thanks.
> Unless you are just doing this to learn, I would suggest you purchase
> USB key with encryption included.  They are REALLY cheap.
> -Larry

More information about the Python-list mailing list