Re: [sqlite] very sqlite3 noobie error

2017-10-23 Thread dave
> -Original Message- > From: sqlite-users > [mailto:sqlite-users-boun...@mailinglists.sqlite.org] On > Behalf Of John R. Sowden > Sent: Sunday, October 22, 2017 9:59 PM ... > Since I am trying to learn sqlite3 (unlearning foxpro) I find that > python is the simpleist language, wfich

Re: [sqlite] very sqlite3 noobie error

2017-10-23 Thread Simon Slavin
On 23 Oct 2017, at 5:24am, John R. Sowden wrote: > i think there are too many errors in this guide for me to use it. The guide is fine. You made mistakes when you copied it. You should be able to copy and past the text straight from the page:

Re: [sqlite] very sqlite3 noobie error

2017-10-22 Thread Keith Medcalf
>boun...@mailinglists.sqlite.org] On Behalf Of John R. Sowden >Sent: Sunday, 22 October, 2017 22:24 >To: sqlite-users@mailinglists.sqlite.org >Subject: Re: [sqlite] very sqlite3 noobie error > >thank you.  i think there are too many errors in this guide for me to >use it. > >John &

Re: [sqlite] very sqlite3 noobie error

2017-10-22 Thread John R. Sowden
to Heaven says a lot about anticipated traffic volume. -Original Message- From: sqlite-users [mailto:sqlite-users- boun...@mailinglists.sqlite.org] On Behalf Of John R. Sowden Sent: Sunday, 22 October, 2017 20:59 To: sqlite-users@mailinglists.sqlite.org Subject: [sqlite] very sqlite3 noobie

Re: [sqlite] very sqlite3 noobie error

2017-10-22 Thread Keith Medcalf
>boun...@mailinglists.sqlite.org] On Behalf Of John R. Sowden >Sent: Sunday, 22 October, 2017 20:59 >To: sqlite-users@mailinglists.sqlite.org >Subject: [sqlite] very sqlite3 noobie error > >Since I am trying to learn sqlite3 (unlearning foxpro) I find that >python is the simpleis

Re: [sqlite] very sqlite3 noobie error

2017-10-22 Thread Simon Slavin
On 23 Oct 2017, at 4:48am, John R. Sowden wrote: > ^C./sqlite3_test.py: line 7: syntax error near unexpected token `(' > ./sqlite3_test.py: line 7: `connection = sqlite3.connect(':memory:')' > john@sentry35:~$ Okay, you need someone who knows more about python to

Re: [sqlite] very sqlite3 noobie error

2017-10-22 Thread John R. Sowden
^C./sqlite3_test.py: line 7: syntax error near unexpected token `(' ./sqlite3_test.py: line 7: `connection = sqlite3.connect(':memory:')' john@sentry35:~$ On 10/22/2017 08:44 PM, Simon Slavin wrote: connection = sqlite3.connect(':memory:') same john

Re: [sqlite] very sqlite3 noobie error

2017-10-22 Thread Simon Slavin
On 23 Oct 2017, at 4:42am, John R. Sowden wrote: > I just checked my file with a hex editor (ghex) and found they are all hex > 27. Okay, they’re correct. Try replacing the line it’s complaining about with connection = sqlite3.connect(':memory:') Simon.

Re: [sqlite] very sqlite3 noobie error

2017-10-22 Thread John R. Sowden
I just checked my file with a hex  editor (ghex) and found they are all hex 27. John On 10/22/2017 08:27 PM, Simon Slavin wrote: On 23 Oct 2017, at 4:13am, John R. Sowden wrote: error from terminal program: ./sqlite3_test.py: line 6: syntax error near

Re: [sqlite] very sqlite3 noobie error

2017-10-22 Thread Simon Slavin
On 23 Oct 2017, at 4:13am, John R. Sowden 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

Re: [sqlite] very sqlite3 noobie error

2017-10-22 Thread John R. Sowden
i just switched to python3 - no difference in error On 10/22/2017 08:13 PM, John R. Sowden 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:~$ version 2.7.12

Re: [sqlite] very sqlite3 noobie error

2017-10-22 Thread John R. Sowden
error from terminal program: ./sqlite3_test.py: line 6: syntax error near unexpected token `(' ./sqlite3_test.py: line 6: `connection = sqlite3(':memory:')' john@sentry35:~$ version 2.7.12 (ubuntu 16,04 lts) John On 10/22/2017 08:07 PM, Igor Korot wrote: Hi, John, On Sun, Oct 22, 2017 at

Re: [sqlite] very sqlite3 noobie error

2017-10-22 Thread Igor Korot
Hi, John, On Sun, Oct 22, 2017 at 9:59 PM, John R. Sowden wrote: > Since I am trying to learn sqlite3 (unlearning foxpro) I find that python is > the simpleist language, wfich allows me to focus on sqlite, I amtrying the > =guide just sent to the list. > > I am

[sqlite] very sqlite3 noobie error

2017-10-22 Thread John R. Sowden
Since I am trying to learn sqlite3 (unlearning foxpro) I find that python is the simpleist language, wfich allows me to focus on sqlite, I amtrying the =guide just sent to the list. I am getting a syntax error on line 5.  below is the program copied by hand from the guide: