[Duncan Booth] | You can get the owner by doing os.popen('dir /q') and parsing | the output, but it is a string not a number (which I guess is why | stat/lstat can't return a value).
Good one; I'd forgotten about that. However, I don't know if the OP's restriction against popen ("ls- l") extends to popen ("dir /q") ! 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 ________________________________________________________________________ -- http://mail.python.org/mailman/listinfo/python-list