What is os.linesep for?
What is os.linesep for? Question: Python’s os module contains a value for a platform specific line separating string, but the docs explicitly say not to use it when writing to a file: Do not use os.linesep as a line terminator when writing files opened in text mode (the default); use a single ‘n’ instead, on …
Total answers: 2