how do i keep python from printing a newline when it exits the program?

xegfault sstaats at questia.com
Mon Oct 11 11:18:54 EDT 2004


Here is a simple script:
#!/usr/bin/python

print "No newline, please.",
# End of script

When the program runs, python is still printing a newline when the
program exits.  How does one keep python from doing so?

Thanks!






More information about the Python-list mailing list