Movatterモバイル変換
[0]ホーム
[Python-Dev] Returning Windows file attribute information viaos.stat()
Ben Hoytbenhoyt at gmail.com
Tue Jun 10 14:58:19 CEST 2014
> The stat module exposes a load of constants - why not add the> (currently known) ones there? Finding the values of Windows constants> if you don't have access to the C headers can be a pain, so having> them defined *somewhere* as named values is useful.So stat.FILE_ATTRIBUTES_HIDDEN and the like? Alternatively they couldgo in ctypes.wintypes, but I think stat makes more sense in this case.-Ben
More information about the Python-Devmailing list
[8]ページ先頭