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" <d...@hashcollision.org> 
To: "Eric Dannewitz" <edannew...@rdschool.org> 
Cc: "Python Tutor Mailing List" <tutor@python.org> 
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  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to