On Tue, Jul 22, 2014 at 06:32:43PM -0700, Eric Dannewitz wrote:
> 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.
Did you look at the functions in os.path as suggested? Here are the
docs: https://docs
On Jul 22, 2014 11:10 PM, "Eric Dannewitz" wrote:
>
> 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.
Steven mentioned a few functions in his reply; check those ones out. The
'os' module is a bit large, b
esday, 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, da
On Tue, Jul 22, 2014 at 04:10:02PM -0700, Eric Dannewitz wrote:
> 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
> 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
__
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