File Manager in Tkinter
Chris Rebert
clp2 at rebertia.com
Tue Aug 10 01:07:09 EDT 2010
On Mon, Aug 9, 2010 at 9:53 PM, <John at mail.python.org> wrote:
> As a learning exercise in Tkinter I htought about making a very simple
> and basic file manager for my own use. I tried searching google for
> any sample project and could not find anything. Not exactly sure how
> to start I tought I could ask here?
>
> I thought about making two listboxes one to list folders only the
> other files inside. I tried to make one listbox first but did not know
> how to list folders only.
os.path.isdir() tests a path for directory-ness. Check out the os.path
std lib module generally:
http://docs.python.org/library/os.path.html
Cheers,
Chris
--
http://blog.rebertia.com
More information about the Python-list
mailing list