[Tutor] Databases in Python

aug dawg augdawg09 at gmail.com
Tue Aug 24 19:13:01 CEST 2010


It's not catching that, but I haven't gotten there with the bugs yet. One
more thing I can't figure out.

line 11
    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 Python
interpreter, it works fine.

On Tue, Aug 24, 2010 at 1:07 PM, Marc Tompkins <marc.tompkins at gmail.com>wrote:

> On Tue, Aug 24, 2010 at 12:44 PM, aug dawg <augdawg09 at gmail.com> wrote:
>
>>  if searcher in database:
>>> # Figure this out.
>>>
>>> You need some sort of actual Python statement there as a placeholder -
> even just "print()".
>
> --
> www.fsrtechnologies.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20100824/ae31f3c4/attachment.html>


More information about the Tutor mailing list