[Pythonmac-SIG] Python Metadata Importer

Gideon May gideon at computer.org
Thu May 26 16:07:19 CEST 2005


Jon, I have a number of python files with dos line ending (\r\n), which
can't be parsed with the parser module. If you change the open call  
in importer.py in :
         theSource = file(inPath,'U').read()
the line ending is translated into newline and the script is able to  
read them :)

Cheers,

Gideon



More information about the Pythonmac-SIG mailing list