On 24 August 2010 17:47, aug dawg <augdaw...@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
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor