¡@

Home 

python Programming Glossary: currentfile

Text file creation issue where new lines created when not really EOL

http://stackoverflow.com/questions/15283801/text-file-creation-issue-where-new-lines-created-when-not-really-eol

files in os.walk SourceDIR topdown False for fl in files currentFile os.path.join root fl ext fl fl.rfind '.' 1 if ext 'xml' xmllist.append.. root fl ext fl fl.rfind '.' 1 if ext 'xml' xmllist.append currentFile print currentFile x 1 try processxml currentFile x rootDir.. '.' 1 if ext 'xml' xmllist.append currentFile print currentFile x 1 try processxml currentFile x rootDir except print Issue..