[Tutor] Databases in Python
alan.gauld at btinternet.com
Tue Aug 24 19:57:25 CEST 2010
"aug dawg" <augdawg09 at gmail.com> wrote
> select-db = raw_input("Which database to add to? >> ")
> SyntaxError: can't assign to operator
> I think it might be the >> at the end, but when I try it in the
> interpreter, it works fine.
You have a minus sign in your variable name - at least thats
how Python sees it...
Author of the Learn to Program web site
More information about the Tutor