simple eval question
N Becker
nbecker at fred.net
Mon Nov 5 11:49:28 EST 2001
Paul Rubin <phr-n2001d at nightsong.com> wrote in message news:<7xlmhoc2q6.fsf at ruckus.brouhaha.com>...
> 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\"')
> ?
Yes, that doesn't work either.
More information about the Python-list
mailing list