Good day, everbody. Here is a simple program called test.py: #!/usr/bin/python print "No newline, please.", # End of program Here is what program does: prompt> ./test.py No newline, please. prompt> Here is what I want the program to do
S. Staats
sstaats at questia.com
Mon Oct 11 11:46:54 EDT 2004
Sorry about the 'double' post. The first one is missing an important piece.
Here is a simple program called test.py:
#!/usr/bin/python
print "No newline, please.",
# End of program
Here is what program does:
prompt> ./test.py
No newline, please.
prompt>
Here is what I want the program to do:
prompt> ./test.py
No newline, please.prompt>
How can I get the python interpreter to not print a newline when it exits?
Thanks for your help!
More information about the Python-list
mailing list