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
[EMAIL PROTECTED]

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

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to