A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2014-June/135000.html below:

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

[Python-Dev] Returning Windows file attribute information via os.stat() [Python-Dev] Returning Windows file attribute information via os.stat()Paul Moore p.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 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.

Paul
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4