A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2005-September/318013.html below:

Last mod date

Last mod date Last mod dateRobert Kern rkern at ucsd.edu
Tue Sep 6 20:28:46 EDT 2005
Webmaster - Fidelity Lodge #113 wrote:
> This is my first post--I'm a Java developer trying to expand my 
> horizons.  I'm trying to figure out how to find out the last 
> modification date/time for a file.  I've found a reference to 
> *PyOS_GetLastModificationTime *as an Operating System Utility, but I 
> can't figure out which module I need to import to access it.

os.path.getmtime(filename)

http://docs.python.org/lib/module-os.path.html

-- 
Robert Kern
rkern at ucsd.edu

"In the fields of hell where the grass grows high
 Are the graves of dreams allowed to die."
  -- Richard Harter


More information about the Python-list 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