subprocess.popen question
Gabriel Genellina
gagsl-py2 at yahoo.com.ar
Fri Jun 22 23:35:07 EDT 2007
En Fri, 22 Jun 2007 10:08:49 -0300, Eric_Dexter at msn.com
<Eric_Dexter at msn.com> escribió:
> I seemed to have it working sorta when I run it and save the results I
> am noticing that in spe it 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
More information about the Python-list
mailing list