[pythonvis] Problem finding info on print statement

  • From: "Al B" <ablazik@xxxxxxxxxxx>
  • To: <pythonvis@xxxxxxxxxxxxx>
  • Date: Tue, 13 May 2014 21:08:00 -0400

Thanks Richard, I'll use the downloaded manuals for reference to Python 2.7 and 
just forget about the Python website documentation for now.
Al B



----- Original Message ----- 
From: Richard Dinger 
To: pythonvis@xxxxxxxxxxxxx 
Sent: Tuesday, May 13, 2014 1:07 PM
Subject: [pythonvis] Problem finding info on print statement


Regarding ‘think python’ chapter 1 on using the help system

Al noted at yesterday’s meeting that the help system did nothing for the print 
statement.  I think that is because print is deprecated and they would like to 
promote the print function used in Python 3.

You can find information on print in the docs provided with python.  From the 
start menu, open the python submenu and select python manuals.  Then open 
python language reference, then simple statements, arrow down to print and open 
it.

What you need to know to use print is that the print statement takes one or 
more comma separated expressions that are evaluated, converted to strings and 
printed.  In the output each output expression is separated by a single space.  
If a trailing comma is included, the newline is not output and the next print 
will append to the end of the line.

Richard

Other related posts: