Re: Get oldest folder

2008-04-15 Thread Tim Golden
[EMAIL PROTECTED] wrote: > I'd like to be able to get the path to the oldest folder in whatever > directory I'm currently in. And just because I'm feeling silly: import os print os.popen ("dir /b /ad /od /tc c:\python25\lib\site-packages").readline () TJG -- http://mail.python.org/mailma

Re: Get oldest folder

2008-04-15 Thread Tim Golden
[EMAIL PROTECTED] wrote: > I'd like to be able to get the path to the oldest folder in whatever > directory > I'm currently in. Is there a simple way to go about this? > I'd like it to run on both OS X and Windows XP. > I found this example but was curious if there's a better way to do this?

Get oldest folder

2008-04-15 Thread jyoung79
I'd like to be able to get the path to the oldest folder in whatever directory I'm currently in. Is there a simple way to go about this? I'd like it to run on both OS X and Windows XP. I found this example at "http://trac.v2v.cc/browser/python-v2v/v2v/v2v.py?rev=python-v2v%2C37";, but was cu