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
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to