Re: [Tutor] sqlite3 place holder problem

2013-10-03 Thread Alex Kleider
On 2013-10-03 18:52, Alex Kleider wrote: The following class method """ def insert(self, DataBase=DataBase, Table=Table): """ Insert instance of ClassMate into . """ with sqlite3.connect(DataBase) as con: cur = con.cursor() row = \

Re: [Tutor] sqlite3 place holder problem

2013-10-03 Thread Alex Kleider
On 2013-10-03 19:07, bob gailer wrote: On 10/3/2013 9:52 PM, Alex Kleider wrote: The following class method """ def insert(self, DataBase=DataBase, Table=Table): """ Insert instance of ClassMate into . """ with sqlite3.connect(DataBase) as con: c

Re: [Tutor] sqlite3 place holder problem

2013-10-03 Thread bob gailer
On 10/3/2013 9:52 PM, Alex Kleider wrote: The following class method """ def insert(self, DataBase=DataBase, Table=Table): """ Insert instance of ClassMate into . """ with sqlite3.connect(DataBase) as con: cur = con.cursor() row = \

Re: [Tutor] how to generate random numbers in Python

2013-10-03 Thread bob gailer
On 10/3/2013 12:31 PM, Joe Jacques wrote: Hi and welcome to the tutor list. Be aware that we are a few volunteers who enjoy assisting when you have tried something and are stuck. As you may have gathered from Mark's response - we don't do homework for you. Were you expecting that, or if not what

[Tutor] sqlite3 place holder problem

2013-10-03 Thread Alex Kleider
The following class method """ def insert(self, DataBase=DataBase, Table=Table): """ Insert instance of ClassMate into . """ with sqlite3.connect(DataBase) as con: cur = con.cursor() row = \ ('NULL', self.first, self.last, s

Re: [Tutor] how to generate random numbers in Python

2013-10-03 Thread xDog Walker
On Thursday 2013 October 03 09:31, Joe Jacques wrote: > Problems in the link > > http://home.manhattan.edu/~ankur.agrawal/cmpt101/assgn5.txt > > Sent from my iPhone Python 2.7.2 (default, Oct 10 2011, 10:47:36) [GCC 4.1.2 20061115 (prerelease) (SUSE Linux)] on linux2 Type "help", "copyright", "cre

Re: [Tutor] how to generate random numbers in Python

2013-10-03 Thread Mark Lawrence
On 03/10/2013 17:31, Joe Jacques wrote: Problems in the link http://home.manhattan.edu/~ankur.agrawal/cmpt101/assgn5.txt Sent from my iPhone Sorry but if you want us to do your work you'll have to send a suitably sized cheque to the PSF, where the size refers to the amount written in words

[Tutor] how to generate random numbers in Python

2013-10-03 Thread Joe Jacques
Problems in the link http://home.manhattan.edu/~ankur.agrawal/cmpt101/assgn5.txt Sent from my iPhone ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Which Python should a beginner learn?

2013-10-03 Thread Tim Krupinski
I think it really depends on why you are learning python. For me, I'm using it primarily to supplement my tools as a system engineer. The standard version of Python that installs with nearly every server I manage is 2.7, so I decided to focus on learning 2.7 because I didn't want to be in a posit

Re: [Tutor] HELP I need help with Python Setup or to reach Marilyn Davis

2013-10-03 Thread Alan Gauld
On 03/10/13 13:58, David wrote: Python installation (?), to a general public mailing list ... ... which has 100's of readers all around the world. Almost 4000... -- Alan G Author of the Learn to Program web site http://www.alan-g.me.uk/ http://www.flickr.com/photos/alangauldphotos

Re: [Tutor] HELP I need help with Python Setup or to reach Marilyn Davis

2013-10-03 Thread David
On 3 October 2013 20:51, Walter Prins wrote: > Hi Carolynn, > > On 3 October 2013 03:01, carolynn fryer wrote: >> >> I am at the point where I am just spinning my wheels. I tried to get help >> with logging on but so far I am just getting frustrated. > > Please note that you've sent an email reg

Re: [Tutor] HELP I need help with Python Setup or to reach Marilyn Davis

2013-10-03 Thread Walter Prins
Hi Carolynn, On 3 October 2013 03:01, carolynn fryer wrote: > I am at the point where I am just spinning my wheels. I tried to get help > with logging on but so far I am just getting frustrated. > > Please note that you've sent an email regarding what appears to be possibly be specific issues r

Re: [Tutor] Tutor Digest, Vol 116, Issue 8

2013-10-03 Thread Dave Angel
On 3/10/2013 03:49, Fabrice Pombet wrote: > Message: 7 > Date: Wed, 02 Oct 2013 20:50:31 +0200 > From: vit...@gmx.com > Content-Type: text/plain; charset=UTF-8; format=flowed > > Which version of Python should a beginner learn? 2.x or 3.x? Please reply to an individual message, not to the digest.

Re: [Tutor] HELP I need help with Python Setup or to reach Marilyn Davis

2013-10-03 Thread Dave Angel
On 2/10/2013 22:01, carolynn fryer wrote: > the fact that I can not run anything without getting a syntax error.  I > tried setting up a path for python environment variables and a few other > things but I am getting no where. Welcome to the Python tutor mailing list. I deleted all the irrelev

Re: [Tutor] HELP I need help with Python Setup or to reach Marilyn Davis

2013-10-03 Thread Chris Down
On 2013-10-02 19:01, carolynn fryer wrote: > I am at the point where I am just spinning my wheels.  I tried to get help > with logging on but so far I am just getting frustrated. >   > I have a problem that I brought up the first night in class but couldn't seem > to get help then.  Sorry if I am a

[Tutor] HELP I need help with Python Setup or to reach Marilyn Davis

2013-10-03 Thread carolynn fryer
I am at the point where I am just spinning my wheels.  I tried to get help with logging on but so far I am just getting frustrated.   I have a problem that I brought up the first night in class but couldn't seem to get help then.  Sorry if I am at the point where I am totally frustrated and I ne

Re: [Tutor] Tutor Digest, Vol 116, Issue 8

2013-10-03 Thread Fabrice Pombet
Message: 7 Date: Wed, 02 Oct 2013 20:50:31 +0200 From: vit...@gmx.com To: tutor@python.org Subject: [Tutor] Which Python should a beginner learn? Message-ID: <524c6af7.5020...@gmx.com> Content-Type: text/plain; charset=UTF-8; format=flowed Which version of Python should a beginner learn? 2.x or 3.