Message260018
> total, free = nt._getdiskusage(path)
> NotADirectoryError: [WinError 267] The directory name is invalid
The underlying C function is GetDiskFreeSpaceEx():
https://msdn.microsoft.com/fr-fr/library/windows/desktop/aa364937%28v=vs.85%29.aspx
It takes a lpDirectoryName parameter: "A directory on the disk."
Is psuugxik1s0è a directory?
It looks more like a shutil.disk_usage() documentation issue than an Unicode issue. |
|
Date |
User |
Action |
Args |
2016-02-10 15:15:54 | vstinner | set | recipients:
+ vstinner, giampaolo.rodola |
2016-02-10 15:15:54 | vstinner | set | messageid: <1455117354.04.0.837074784344.issue26330@psf.upfronthosting.co.za> |
2016-02-10 15:15:54 | vstinner | link | issue26330 messages |
2016-02-10 15:15:53 | vstinner | create | |
|