May-11-2019, 07:30 AM
Don't forget that the built-in print function has a file keyword where to output the text.
In the case where a line has no line-ending/line-seperator, you could use the print funciton.
It adds by default a newline to the end of the string. This could be controlled with the keyword
In the case where a line has no line-ending/line-seperator, you could use the print funciton.
It adds by default a newline to the end of the string. This could be controlled with the keyword
end
In [1]: print? Docstring: print(value, ..., sep=' ', end='\n', file=sys.stdout, flush=False) Prints the values to a stream, or to sys.stdout by default. Optional keyword arguments: file: a file-like object (stream); defaults to the current sys.stdout. sep: string inserted between values, default a space. end: string appended after the last value, default a newline. flush: whether to forcibly flush the stream. Type: builtin_function_or_method
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
All humans together. We don't need politicians!