Re: Reading pen drive data

2011-09-03 Thread MRAB
On 03/09/2011 17:21, mukesh tiwari wrote: On Sep 3, 7:40 pm, mukesh tiwari wrote: Hello all I am trying to write a python script which can mount a pen drive and read the data from pen drive. I am using pyudev [http://packages.python.org/pyudev/api/index.html] and wrote a small python code imp

Re: Reading pen drive data

2011-09-03 Thread Jerry Hill
On Sat, Sep 3, 2011 at 12:21 PM, mukesh tiwari wrote: > I am getting > Traceback (most recent call last): > File "Mount.py", line 7, in >observer = QUDevMonitorObserver(monitor) > NameError: name 'QUDevMonitorObserver' is not defined > > Could any one please tell me how to avoid this error

Re: Reading pen drive data

2011-09-03 Thread mukesh tiwari
On Sep 3, 7:40 pm, mukesh tiwari wrote: > Hello all > I am trying to write a python script which can mount a pen drive and > read the data from pen drive. I am using pyudev > [http://packages.python.org/pyudev/api/index.html] and wrote a small > python code > > import pyudev, sys > if __name__ ==