Bruno Desthuilliers wrote:
> First, notice that you *don't* need a class here to avoid globals.
> Learning to use function as *functions* (ie: taking arguments and
> returning values) instead of procedure would help:
>
> def random_quote(cursor):
> c.execute ("SELECT COUNT(Quote) FROM PythonQuoteQuery")make that "cursor.execute" (etc) </F> -- http://mail.python.org/mailman/listinfo/python-list
