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/2002-June/024941.html below:

[Python-Dev] Other library code transformations

[Python-Dev] Other library code transformations [Python-Dev] Other library code transformationsWalter Dörwald walter@livinglogic.de
Mon, 03 Jun 2002 17:54:11 +0200
Fredrik Lundh wrote:
> walter wrote:
> 
> 
>>import stat; os.stat("foo")[stat.ST_MTIME] --> os.stat("foo").st_mtime
> 
> 
> or, nicer:
> 
>     os.path.getmtime("foo")

Is there an os.path function available for all the os.stat entries?

Which version should we use?

Should we change this at all? (stat.py won't go away,
only string.py and types.py will.)

Bye,
    Walter Dörwald





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