P
PengYu.UT
Suppose I have a dos format text file. The following python code will
print ^M at the end. I'm wondering how to print it in unix format.
fh = open(options.filename)
for line in fh.readlines()
print line,
Thanks,
Peng
print ^M at the end. I'm wondering how to print it in unix format.
fh = open(options.filename)
for line in fh.readlines()
print line,
Thanks,
Peng