4 ms·
Don’t you also have to keep in mind how often you flush outputs/how you buffer? Encoding? Handle EOF correctly? Not saying it’s hard but also it’s not 100% cov
by IgorPartola 4y ago
Don’t you also have to keep in mind how often you flush outputs/how you buffer? Encoding? Handle EOF correctly?
Not saying it’s hard but also it’s not 100% covered by what you said.
- markrages 4y agoThose are advanced topics and you can look them up if you need them. Generally, Python does the right thing by default for scripting use: line buffered, system encoding, EOF handled naturally by the iterator protocol.