[Tutor] Printing Problem python 3

Dave Crouse dcml1 at crouse.us
Wed Apr 29 20:42:41 CEST 2009


Trying to print something with a { in it.
Probably extremely simple, but it's frustrating me.  :(

print ('The \"This is a test \" {')

i get this error

ValueError: Single '{' encountered in format string
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20090429/5ee19aab/attachment.htm>


More information about the Tutor mailing list