[python-users] Zugriff aus Wechseldatenträger mit Python (Windows)

Joachim Sasse sassec1 at t-online.de
Di Mär 1 10:59:18 CET 2016


Hallo liebe Pythongemeinde,

ich habe das Problem, das ich zur Zeit keine Möglichkeit finde, um auf
Wechseldatenträger unter Windows (USB-Verbundgerät) mit Python (3.5)  
drauf zuzugreifen.

Ich habe z.b. ein Smartphone an USB angeschlossen, als Laufwerk ist es 
nicht zu erkennen.

die Lib psutil liefert mir nur die disk_partitions:
z.B.
[sdiskpart(device='C:\\', mountpoint='C:\\', fstype='NTFS', 
opts='rw,fixed'), sdiskpart(device='D:\\', mountpoint='D:\\', 
fstype='NTFS', opts='rw,fixed'), sdiskpart(device='E:\\', 
mountpoint='E:\\', fstype='NTFS', opts='rw,fixed'), 
sdiskpart(device='F:\\', mountpoint='F:\\', fstype='CDFS', 
opts='ro,cdrom'), sdiskpart(device='G:\\', mountpoint='G:\\', 
fstype='NTFS', opts='rw,fixed'), sdiskpart(device='H:\\', 
mountpoint='H:\\', fstype='NTFS', opts='rw,fixed'), 
sdiskpart(device='I:\\', mountpoint='I:\\', fstype='CDFS', 
opts='ro,cdrom'), sdiskpart(device='K:\\', mountpoint='K:\\', fstype='', 
opts='removable')]

Geht das evtl. mit pyusb ?  - da komme ich aber leider nicht weiter - 
bekomme nur eine Liste der Devices.

Kann mir jemand helfen ?

Vielen Dank !
Joachim

-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: <http://lists.uni-koeln.de/pipermail/python-users/attachments/20160301/8bbc52ac/attachment.html>


Mehr Informationen über die Mailingliste python-users