If anyone has access to Python on a Windows system with shared Netware, I'd be grateful if you could run a quick test such as the following to check if file creation and modification times are returned correctly as they would be on a Windows file system:
Python 2.4.3 (#69, Mar 29 2006, 17:35:34) [MSC v.1310 32 bit (Intel)] on 
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import os, stat, time
>>> fi = r'\\eve\eve_sr\Dp63db-01.sql'      # any file on Netware partition
>>> os.path.exists(fi)
True
>>> time.ctime(os.stat(fi).st_ctime)         # is the create time returned?
'Mon Nov 20 14:34:24 2006'
>>> time.ctime(os.stat(fi).st_mtime) # is the last modified time returned?
'Mon Nov 27 08:46:34 2006'
>>>
Thanks for any help.

David Hughes
_______________________________________________
python-uk mailing list
python-uk@python.org
http://mail.python.org/mailman/listinfo/python-uk

Reply via email to