Re: [Tutor] SyntaxError: unexpected EOF while parsing

2015-08-18 Thread Alan Gauld
On 18/08/15 03:23, Nym City via Tutor wrote: I would like to know what is the reason and proper solution for the following error: SyntaxError: unexpected EOF while parsing. The reason is that the parser reached the end of the file while still trying to parse a Python statement. Usually

Re: [Tutor] Is it possible to archive subsets of data from an SQLite db and restore it later?

2015-08-18 Thread Alan Gauld
On 18/08/15 10:02, Ben Finney wrote: Alan Gauld alan.ga...@btinternet.com writes: A flag column that can be used to include/exclude students from reports. So better than a boolean in the database, would be a timestamp (or just a date) indicating *when* the status changes. Either an

[Tutor] SyntaxError: unexpected EOF while parsing

2015-08-18 Thread Nym City via Tutor
Hello, I would like to know what is the reason and proper solution for the following error: SyntaxError: unexpected EOF while parsing. I am get this error usually when I am troubleshooting and comment out portion of the code and add Print() statements to see where the issues are in my code.

Re: [Tutor] Is it possible to archive subsets of data from an SQLite db and restore it later?

2015-08-18 Thread Ben Finney
Alan Gauld alan.ga...@btinternet.com writes: A flag column that can be used to include/exclude students from reports. Boolean flags very commonly indicate something that can be different at different times. When the name is of the form “currently_foo”, that's almost certainly something that is

Re: [Tutor] Is it possible to archive subsets of data from an SQLite db and restore it later?

2015-08-18 Thread Alan Gauld
On 18/08/15 04:51, Zachary Ware wrote: On Mon, Aug 17, 2015 at 10:44 PM, boB Stepp robertvst...@gmail.com wrote: My wife had an interesting request tonight: Would it be possible to have two dbs, one that is the current working db, and the other an archival db for students who have left the

Re: [Tutor] AttributeError,

2015-08-18 Thread Alan Gauld
On 18/08/15 02:04, Steven D'Aprano wrote: Has anyone else answered this question? I haven't seen a response, but perhaps I missed it. There have been several further mails - some off list. The upshot is that he has submitted what he believes is a working solution to his assignment. -- Alan G

Re: [Tutor] Dave Angel

2015-08-18 Thread Steven D'Aprano
Thank you Alan, for letting us know. Dave will be missed. He was an important part of the Python community. Regards, Steve On Tue, Aug 18, 2015 at 09:49:15AM +0100, Alan Gauld wrote: Many members of the list will remember Dave Angel as a regular and active participant over many years.

Re: [Tutor] Dave Angel

2015-08-18 Thread Marc Tompkins
Thank you very much - and thanks to Dave for his contributions over the years. On Tue, Aug 18, 2015 at 1:49 AM, Alan Gauld alan.ga...@btinternet.com wrote: Many members of the list will remember Dave Angel as a regular and active participant over many years. However, Dave has not been active

Re: [Tutor] pip install in a virtualenv *without* internet?

2015-08-18 Thread Laura Creighton
In a message of Tue, 18 Aug 2015 20:10:15 -, Albert-Jan Roskam writes: So I would like to pip install a openpyxl AND its specific dependencies in a virtualenv. The problem is that I can't use pip to download the packages from Pypi because I do not have a regular internet connection. Is

[Tutor] pip install in a virtualenv *without* internet?

2015-08-18 Thread Albert-Jan Roskam
Hi, I use Python(x y) (Python 2.7) on Win7. I need a higher version of openpyxl, because pandas.Dataframe.to_excel yields an error. So pandas and its own dependencies (e.g. numpy) could remain in the python(x y) site-packages, I just need a higher version of openpyxl without disturbing the

[Tutor] Dave Angel

2015-08-18 Thread Alan Gauld
Many members of the list will remember Dave Angel as a regular and active participant over many years. However, Dave has not been active on the list for a little while. I regret to inform you that Dave passed away at the end of May. There is an obituary here:

[Tutor] Binary tree expressions

2015-08-18 Thread Quiles, Stephanie
Hello! Not sure if anyone can help me with these or not but here it goes... I have to draw an expression tree for the following (a+b)*c-(d-e). I believe that the last move would go first in the tree so in this case you would subtract c after computing what d-e was. So my tree would start

[Tutor] testing, please disregard

2015-08-18 Thread Tim Johnson
I have had some problems with another python.org ML. I am sending this to see if it is received. Please disregard. thanks -- Tim http://www.akwebsoft.com, http://www.tj49.com ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription

[Tutor] Fwd: Re: Binary tree expressions

2015-08-18 Thread Danny Yoo
Apologies for not sending this to the list. Forwarding. -- Forwarded message -- From: Danny Yoo danny@gmail.com Date: Aug 18, 2015 4:12 PM Subject: Re: [Tutor] Binary tree expressions To: Stephanie Quiles stephanie.quiles...@albright.edu Cc: On Aug 18, 2015 3:48 PM, Quiles,

Re: [Tutor] Dave Angel

2015-08-18 Thread wesley chun
I was posting more regularly to Tutor when Dave came around the first time at the end of March 2009 (first thread here https://mail.python.org/pipermail/tutor/2009-March/068227.html and last thread from early May https://mail.python.org/pipermail/tutor/2015-May/105430.html). For the 6+ years in