Some info
Fulvio
fulvio at pc.jaring.my
Wed Mar 22 09:05:08 EST 2006
Alle 21:22, mercoledì 22 marzo 2006, Sybren Stuvel ha scritto:
> > disk names (CDroms or USB HDs).
>
> Depends on what names you want.
It seems clear that was _disk_ names. If isn't to much would be also useful to
know the serial number, so will avoid to record a disk twice. On Win, we can
call Win32API, but this won't work for linux :-(
It's my opinion that python should read some partition table or disk header to
find these informations.
For the remaining information will suffice a os.walk(path). OK I'm not 100%
sure what's that function, but I remember that there's for win and lin. Later
I'll go deeper for info according the MIME file type.
Fulvio
More information about the Python-list
mailing list