CRLF when doing os.system("ls -l") while using curses !!!

lkennedy5 at gmail.com lkennedy5 at gmail.com
Fri May 29 16:34:37 EDT 2009


Here is the code and as you can see for yourself, the output is not
coming out on the screen with CRLF like it should.  How do I fix this?



import curses, os
screen = curses.initscr()
os.system("ls -l")
curses.endwin()



More information about the Python-list mailing list