simple eval question

Paul Rubin phr-n2001d at
Fri Nov 2 21:55:13 CET 2001

nbecker at (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