Hi,..I tried to list files in a tree directory using os.path.walk. To
avoid dirnames fromm being listed i use the os.path.isdir method.
However, when isdir encounters directories that use spaces in their
name e.q My Documents it doesn;t recognize them as directories.. Is
there any solution to this,
Here's my code
filelist={}
def listFiles(self, dirName, filesInDir):
for fname in filesInDir:
if os.path.isfile(fname):
key = os.path.join(dirName, fname)
stats = os.stat
Hi,..I found it difficult to display data from a dictionary using GUI.
What widget should I use? I tried using text widget, but I couldn't get
the display I want. I need the display to look like this
file name size agelocation
===
I need help sorting a list...I just can't figure out how to sort a list
and then return a list with the index of the sorted items in the list
for example if the list I want to sort is [2,3,1,4,5]
I need [2,0,1,3,4] to be returned
Can someone help please
--
http://mail.python.org/mailman/listi
Okay...THanks a lot everyone,.. Those codes really help
--
http://mail.python.org/mailman/listinfo/python-list
Okay...THanks a lot everyone,.. Those codes are a real help
--
http://mail.python.org/mailman/listinfo/python-list