[Tutor] Getting a directory listing with Python to MySQL

Eric Dannewitz edannewitz at rdschool.org
Wed Jul 23 01:10:02 CEST 2014


Hello list, I'm new. I've done a few things in Python, but this one is posing problems. 

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, and send that to a MySQL database. Any ideas? Sounds like it should be easy but...... 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20140722/0a8c664b/attachment.html>


More information about the Tutor mailing list