On Jun 23, 5:35 am, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > En Fri, 22 Jun 2007 10:08:49 -0300, [EMAIL PROTECTED] > <[EMAIL PROTECTED]> escribió: > > > I seemed to have it working sorta when I run it and save the results I > > am noticing that inspeit spaces correctly but when I save it to a > > file I can open it in wordpad there is only one line. when I open in > > up in WinXound (A csound editor) it is double spaced. if I do it in a > > batch file the output file is spaced correctly.. when I do splitlines > > it is giving me one charecter down the page as output.. Do I need to > > do something or can I do something to put an end of line charecter in > > the output?? > > Try > > print repr(your_data) > > to see exactly what you got. > > -- > Gabriel Genellina
Did you take in account that line endings on Windows are '\r\n' and not '\n'? Stani -- http://pythonide.stani.be
-- http://mail.python.org/mailman/listinfo/python-list