simple eval question

Paul Rubin phr-n2001d at nightsong.com
Fri Nov 2 15:55:13 EST 2001


nbecker at fred.net (N Becker) writes:
> What is wrong with this?
> 
> eval ("print \"hello\"')

Unbalanced quotes.  You began the string with a double quote and ended
it with a single quote.  Did you mean
  eval ('print \"hello\"')
?



More information about the Python-list mailing list