hi, i am trying to get the file size of files in the directories and sub directories ..... and i get this error
global name 'fs' is not defined ... and i dont need to use a global name .... any help will do thanks .....
def fileSize(a, dir, files):
for fs in files:
print dir, "Filesize = " + fs
os.path.walk(fs, fileSize, None)