Monitoring a USB-drive / Card-reader using python?

Diez B. Roggisch deets at
Thu Jun 2 01:31:19 CEST 2005

Thomas W wrote:
> I want to monitor a given USB-device, like a Memory Card-reader, and
> when a memory card is inserted I want to move the data on the card to a
> different location on the filesystem ( or do something else with the
> files).
> Does anybody know how to do this ( on Linux and/or windows ) or if it's
> even do-able ?

Under linux use FAM and udev, together with Python FAM binding

More information about the Python-list mailing list