[Tutor] Databases in Python

aug dawg augdawg09 at gmail.com
Tue Aug 24 19:07:32 CEST 2010


Oh yeah. That was just a comment that I forgot to take out.


On Tue, Aug 24, 2010 at 1:01 PM, Walter Prins <wprins at gmail.com> wrote:

>
>
> On 24 August 2010 17:47, aug dawg <augdawg09 at gmail.com> wrote:
>
>>  if searcher in database:
>>>  # Figure this out.
>>>  if "exit database" in command:
>>> print "Bye!"
>>> sys.exit()
>>>
>>
> The first thing that caught my eye was the "#figure me out" line -- python
> is expecting a statement there, a comment doesn't count.  You can use "pass"
> for the time being.  (See
> http://docs.python.org/reference/simple_stmts.html#grammar-token-pass_stmt
> )
>
> Walter
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20100824/5055b85b/attachment.html>


More information about the Tutor mailing list