Movatterモバイル変換


[0]ホーム

URL:


[Python-Dev] Returning Windows file attribute information viaos.stat()

Paul Moorep.f.moore at gmail.com
Tue Jun 10 14:44:43 CEST 2014


On 10 June 2014 13:19, Ben Hoyt <benhoyt at gmail.com> wrote:> Because these are fixed-forever constants, I suspect in library code> and the like people would just KISS and use an integer literal and a> comment, avoiding the import/constant thing:The stat module exposes a load of constants - why not add the(currently known) ones there? Finding the values of Windows constantsif you don't have access to the C headers can be a pain, so havingthem defined *somewhere* as named values is useful.Paul


More information about the Python-Devmailing list

[8]ページ先頭

©2009-2025 Movatter.jp