KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm on Windows and Python is (very effectively) preventing me from sending a stand-alone '\n' character to STDOUT. For example, the following will output foo\r\nvar : sys.stdout.write("foo\nvar") How can I turn this "feature" off? Writing to a file first is not an option, because the output is being piped.
Tags (comma-separated)
Save Edits
Cancel