On 23 Oct 2017, at 4:13am, John R. Sowden <jsow...@americansentry.net> wrote:

> error from terminal program:
> ./sqlite3_test.py: line 6: syntax error near unexpected token `('
> ./sqlite3_test.py: line 6: `connection = sqlite3(':memory:')'
> john@sentry35:~$

Please make absolutely sure that you are using the quote characters python 
expects.  Your text editor may have turned apostrophes into smart quotes.

If that’s not the problem then please try replacing that line with

connection = sqlite3.connect(':memory:')

Simon.
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to