Message260017
On Python 3.4, Windows 7:
>>> import shutil, os
>>> path = 'psuugxik1s0è'
>>> os.stat(path)
os.stat_result(st_mode=33206, st_ino=6755399441249628, st_dev=3158553679, st_nlink=1, st_uid=0, st_gid=0, st_size=27136, st_atime=1455
116789, st_mtime=1455116789, st_ctime=1455116789)
>>>
>>> shutil.disk_usage(path)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\python34\lib\shutil.py", line 989, in disk_usage
total, free = nt._getdiskusage(path)
NotADirectoryError: [WinError 267] The directory name is invalid
>>> |
|
Date |
User |
Action |
Args |
2016-02-10 15:11:17 | giampaolo.rodola | set | recipients:
+ giampaolo.rodola |
2016-02-10 15:11:17 | giampaolo.rodola | set | messageid: <1455117077.45.0.531847730839.issue26330@psf.upfronthosting.co.za> |
2016-02-10 15:11:17 | giampaolo.rodola | link | issue26330 messages |
2016-02-10 15:11:16 | giampaolo.rodola | create | |
|