[Tutor] long lines in print

geek+@cmu.edu geek+@cmu.edu
16 Apr 1999 09:22:23 -0400


--pgp-sign-Multipart_Fri_Apr_16_09:22:22_1999-1
Content-Type: text/plain; charset=US-ASCII

Then <a.mueller@icrf.icnet.uk> spoke up and said:
> is there a chance to split a long python 'statements' 
> line into several lines?

Sure:

print " here is a part and %s" \
	% ('here is another part') 

Note, that the \ is IMMEDIATELY followed by a newline.  If you put a
space after it, it doesn't do what you want.

-- 
=====================================================================
| JAVA must have been developed in the wilds of West Virginia.      |
| After all, why else would it support only single inheritance??    |
=====================================================================
| Finger geek@cmu.edu for my public key.                            |
=====================================================================

--pgp-sign-Multipart_Fri_Apr_16_09:22:22_1999-1
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP MESSAGE-----
Version: 2.6.2
Comment: Processed by Mailcrypt 3.3, an Emacs/PGP interface

iQBVAwUBNxc5j4dzVnzma+gdAQGI1gIAiyp1sj7Y/rS6fDnNpTMxAOMG8cOoFtwN
z6IvPb6jrBAkMU13oQUQ36xHv4PhP/kF7Oyj+ZLcCcdFE0bNbR6nwA==
=BDtu
-----END PGP MESSAGE-----

--pgp-sign-Multipart_Fri_Apr_16_09:22:22_1999-1--