Re: [Tutor] beginning to code

2017-09-10 Thread Alan Gauld via Tutor
For some reaspon I'm missing the original post so apologies to replying to Senthil instead of the OP directly... >> The code i should try is as following: >> >> while True: >> print ('who are you') >> name = input () >> if name != 'bert': >> continue >> pri

Re: [Tutor] How is database creation normally handled?

2017-09-10 Thread Chris Warrick
On 10 September 2017 at 02:29, boB Stepp wrote: > While reading about SQL, SQLite and the Python module sqlite3, it > appears that I could (1) have a program check for the existence of the > program's database, and if not found, create it, make the tables, > etc.; or, (2) create the database separ

Re: [Tutor] How is database creation normally handled?

2017-09-10 Thread Mats Wichmann
On 09/10/2017 02:08 AM, Alan Gauld via Tutor wrote: > On 10/09/17 01:29, boB Stepp wrote: >> While reading about SQL, SQLite and the Python module sqlite3, it >> appears that I could (1) have a program check for the existence of the >> program's database, and if not found, create it, make the table

Re: [Tutor] beginning to code

2017-09-10 Thread boB Stepp
Hello kerbi! On Sun, Sep 10, 2017 at 6:32 AM, Elmar Klein wrote: > Hi there, > > im starting to learn how to code (bougt me the "automate the boring stuff > with phyton" book). > > And im not going anywhere with a code sample using the "continue" statement. > > The code i should try is as followi

Re: [Tutor] beginning to code

2017-09-10 Thread Bob Gailer
On Sep 10, 2017 8:40 AM, "Senthil Kumaran" wrote: > > > unindent does not match any outer indention level > > Means that your Intendentaion is not proper. You should align your print > statement and rest to the same level as if statement. > > Use a proper editor that supports Python Syntax. > Also

Re: [Tutor] beginning to code

2017-09-10 Thread Senthil Kumaran
> unindent does not match any outer indention level Means that your Intendentaion is not proper. You should align your print statement and rest to the same level as if statement. Use a proper editor that supports Python Syntax. On Sun, Sep 10, 2017 at 4:32 AM, Elmar Klein wrote: > Hi there, >

[Tutor] beginning to code

2017-09-10 Thread Elmar Klein
Hi there, im starting to learn how to code (bougt me the "automate the boring stuff with phyton" book). And im not going anywhere with a code sample using the "continue" statement. The code i should try is as following: while True:   print ('who are you')   name = input ()   if n

Re: [Tutor] How is database creation normally handled?

2017-09-10 Thread Peter Otten
boB Stepp wrote: > While reading about SQL, SQLite and the Python module sqlite3, it > appears that I could (1) have a program check for the existence of the > program's database, and if not found, create it, make the tables, > etc.; or, I'm only a casual user of sqlite, and therefore I prefer t

Re: [Tutor] Standard module sqlite3 or APSW?

2017-09-10 Thread Alan Gauld via Tutor
On 10/09/17 01:56, boB Stepp wrote: > So if all of this is correct, does the documentation at > https://rogerbinns.github.io/apsw/pysqlite.html#pysqlitediffs give an > objective assessment of the differences between pysqlite and APSW? I believe so. I've never used APSW, only read a single web art

Re: [Tutor] How is database creation normally handled?

2017-09-10 Thread Alan Gauld via Tutor
On 10/09/17 01:29, boB Stepp wrote: > While reading about SQL, SQLite and the Python module sqlite3, it > appears that I could (1) have a program check for the existence of the > program's database, and if not found, create it, make the tables, > etc.; or, (2) create the database separately and inc