List Info

Thread: File information from Netware share on Windows




File information from Netware share on Windows
user name
2006-11-27 09:02:45
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'\eveeve_srDp63db-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
File information from Netware share on Windows
user name
2006-11-27 09:46:47
[David Hughes]

| If anyone has access to Python on a Windows system with 
| shared Netware...

... not here, I'm afraid, but have you tried posting to
the main python list? You'd get a much wider audience there.

TJG

____________________________________________________________
____________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a
proactive
anti-virus service working around the clock, around the
globe, visit:
http://www.star.net.uk
____________________________________________________________
____________
_______________________________________________
python-uk mailing list
python-ukpython.org
htt
p://mail.python.org/mailman/listinfo/python-uk
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )