Jeff a écrit : > If it's a short file you could slurp the entire file and then split it > however you like using regular expressions.
My my my... > I'm not sure if you can alter it, You can. But it hopefully won't alter your binary-compiled system libs. IOW : it's so (obviously) useless that no one even bothered doing anything to prevent you from altering it !-) but os.linesp os.line > holds the value that > is accessed when file.readlines() splits lines. Conceivably, if it > were set to 'FOO', 'FOO' would be used to determine the EOL string. Hopefully not. Anyway, the answer is elsewhere (hint: import csv). -- http://mail.python.org/mailman/listinfo/python-list