That's close. I have been playing from glob and os.walk but I'm at a loss how to get the size, creation and modified date while running it.
----- Original Message ----- From: "Danny Yoo" <[email protected]> To: "Eric Dannewitz" <[email protected]> Cc: "Python Tutor Mailing List" <[email protected]> Sent: Tuesday, July 22, 2014 6:14:55 PM Subject: Re: [Tutor] Getting a directory listing with Python to MySQL > What I want to do is be able to parse a directory, say /Volumes/Stuff/Files/, > and all the directories that might be in there, and be able to pick out file > name, size, date modified, etc, Hi Eric, You might find the following helpful: http://www.diveintopython.net/file_handling/os_module.html
_______________________________________________ Tutor maillist - [email protected] To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor
