Quotes
James J. Besemer
jb at cascade-sys.com
Fri Dec 20 00:13:30 EST 2002
Tetsuo wrote:
> Let's say I need to have this text printed:
>
> print "The book is called "Harry Potter and the Philosopher's Stone.""
>
> How do I get the user to see
>
>
> The book is called "Harry Potter and the Philosopher's Stone."
>
print "The book is called \"Harry Potter and the Philosopher's Stone.\""
or
print 'The book is called "Harry Potter and the Philosopher\'s Stone."'
--
James J. Besemer 503-280-0838 voice
2727 NE Skidmore St. 503-280-0375 fax
Portland, Oregon 97211-6557 mailto:jb at cascade-sys.com
http://cascade-sys.com
More information about the Python-list
mailing list