On Mon, Aug 9, 2010 at 9:53 PM, <j...@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 -- http://mail.python.org/mailman/listinfo/python-list