The default value of end is \n meaning that after the print statement it will print a new line. So simply stated end is what you want to be printed after the print statement has been executed The question you found is mainly discussing the difference between Python2 and Python3 since there is no argument end for print in Python2 (actually in Python2 print is not a function but a statement). What does end=' ' in a print call exactly do?

Understanding the Context

- Stack Overflow I know how to generally move around in command mode, specifically, jumping to lines, etc. But what is the command to jump to the end of the line that I am currently on? editor - How do I move to end of line in Vim? - Stack Overflow The end=' ' is just to say that you want a space after the end of the statement instead of a new line character.

Key Insights

In Python 2.x you would have to do this by placing a comma at the end of the print statement. For example, when in a Python 3.x environment: System.IO.InvalidDataException: End of Central Directory record could not be found. In my case, the exception was thrown by the ZipArchive constructor when providing it with an input stream for . I could verify that the zip file was empty by manually trying to extract its contents in the file explorer. The remote end hung up unexpectedly while git cloning Asked 14 years, 8 months ago Modified 2 months ago Viewed 651k times