Re: [Tutor] plotting pixels

2010-09-18 Thread Ken Oliver
-Original Message- From: Bill Allen Sent: Sep 18, 2010 11:45 AM To: Alan Gauld Cc: tutor@python.org Subject: Re: [Tutor] plotting pixels On Sat, Sep 18, 2010 at 10:44 AM, Bill Allen wrote: On Fri, Sep 17, 2010 at 3:38 AM, Alan Gauld wrot

Re: [Tutor] Strange list behaviour in classes

2010-02-25 Thread Ken Oliver
-Original Message- From: Walter Prins Sent: Feb 25, 2010 7:09 AM To: Dave Angel Cc: Alan Gauld , tutor@python.org Subject: Re: [Tutor] Strange list behaviour in classes On 25 February 2010 11:22, Dave Angel wrote: The indentation in your code is lost when I look for i

Re: [Tutor] PyGTK: is there a library for both Linux and Windows

2009-10-21 Thread Ken Oliver
-Original Message- >From: Chris Fuller >Sent: Oct 21, 2009 10:43 AM >To: tutor@python.org >Subject: Re: [Tutor] PyGTK: is there a library for both Linux and Windows > > >on differences: > >The downloads include binaries, so there have to be distinct files for Linux >and Windoze. If you

Re: [Tutor] What language should I learn after Python?

2009-10-07 Thread Ken Oliver
-Original Message- >From: Dave Angel >Sent: Oct 7, 2009 12:47 AM >To: Mark Young >Cc: tutor@python.org >Subject: Re: [Tutor] What language should I learn after Python? > >> maybe I should try again, or maybe I'll try C. > >On the other hand, perhaps you should learn something that has

Re: [Tutor] eazy python question involving functions and parameters

2009-09-21 Thread Ken Oliver
-Original Message- >From: wesley chun >Sent: Sep 21, 2009 4:49 AM >To: tutor@python.org >Subject: Re: [Tutor] eazy python question involving functions and parameters > >>> Just think: 4 players left means that this is the semi final. >> >> What a brilliant answer! It tells him how to do

Re: [Tutor] Using insert method on a list matrix

2009-07-19 Thread Ken Oliver
try  M[0].insert(0, 'pod')-Original Message- From: Raj Medhekar Sent: Jul 19, 2009 7:12 PM To: Python Tutor Subject: [Tutor] Using insert method on a list matrix I would like to know how I could use the insert method in a List matrix eg. for the matrix belowM=[[1,2,3], [3,2,1], [4,3,2]]i

Re: [Tutor] Best Python Editor

2009-06-13 Thread Ken Oliver
-Original Message- >From: pyt...@bdurham.com >Sent: Jun 13, 2009 10:16 AM >To: Alan Gauld , tutor@python.org >Subject: Re: [Tutor] Best Python Editor > >Alan, > >> I spoke a wee bit too soon. The editor is nice but the debugger and some of >> the other tools windows (eg variables) are br

Re: [Tutor] What is Dani Web?

2009-04-10 Thread Ken Oliver
Title: Signature.html Try this:http://www.ask.com/bar?q=what+is+daniweb&page=1&qsrc=121&ab=0&u=http%3A%2F%2Fwww.daniweb.com%2Fforums%2Ffaq.php%3Ffaq%3Ddaniweb_faqor shorterhttp://tinyurl.com/cfsvpa-Original Message- From: Wayne Watson Sent: Apr 9, 2009 11:52 PM To: "tutor@python.org" Subj

Re: [Tutor] new print statement + time module

2009-02-28 Thread Ken Oliver
-Original Message- >From: spir >Sent: Feb 28, 2009 2:16 AM >To: tutor@python.org >Subject: Re: [Tutor] new print statement + time module > >Le Sat, 28 Feb 2009 06:34:07 +0200, >George Wahid s'exprima ainsi: > >> I downloaded python 3.0.1 today and started experimenting with the new >> p

Re: [Tutor] transforming an integer to a list of integers

2009-02-03 Thread Ken Oliver
Not an expert here, but I think I would first change it to a big string of 1000 chars and then pick off the chars one at a time and do int().-Original Message- From: "H.G. le Roy" Sent: Feb 3, 2009 10:17 AM To: tutor@python.org Subject: [Tutor] transforming an integer to a list of integers

Re: [Tutor] cube root

2009-01-19 Thread Ken Oliver
-Original Message- >From: Andre Engels >Sent: Jan 19, 2009 7:22 AM >To: spir >Cc: tutor@python.org >Subject: Re: [Tutor] cube root > >On Mon, Jan 19, 2009 at 1:13 PM, spir wrote: >> Do you know any common algorithm to convert decimal (in the sense of >> fractional) decimals (in the se

Re: [Tutor] school physics/math courses

2008-10-16 Thread Ken Oliver
For a starting place, you may want to look at "Mathematics for the Digital Age and Programming in Python" by Maria and Gary Litvin. ISBN 978-0-9727055-8-5 Both authors are very helpful and often contribute to math and CS electronic discussion groups. Communications possible through information

Re: [Tutor] wanting to learn

2008-06-12 Thread Ken Oliver
>Don't be like most and put off the super timple tutorials. I had a lot >of fun (after reading the Core python books out there) with the kids >tutorial because it was just fun to play around and learn some python >/ work with some python in the process. Honestly I didn't learn >anything because

Re: [Tutor] Sqrt on a variable

2007-10-09 Thread Ken Oliver
From: samir amassine <[EMAIL PROTECTED]> Subject: [Tutor] Sqrt on a variable hello, i can't seem to use the sqrt function on a variable, do you know how i can???i want to make the ABC formulaSamir**I am guessing a

Re: [Tutor] sales tax

2007-09-19 Thread Ken Oliver
-Original Message- From: Ian Witham <[EMAIL PROTECTED]> Sent: Sep 18, 2007 11:39 PM To: Christopher Spears <[EMAIL PROTECTED]> Cc: tutor@python.org Subject: Re: [Tutor] sales tax As Michael points out, you need to explicitly use the round function, as the float formatting merely truncates

Re: [Tutor] A fun puzzle

2007-08-24 Thread Ken Oliver
-Original Message- >From: Dick Moores <[EMAIL PROTECTED]> >Sent: Aug 24, 2007 4:30 PM >To: Python Tutor List >Subject: Re: [Tutor] A fun puzzle > >Dick Moores wrote: >>At 10:22 AM 8/24/2007, Kent Johnson wrote: >>>So you actually pasted that code into timeit.py? >>Yeah. :-( I think I lea

Re: [Tutor] Ingenious script (IMO)

2007-08-06 Thread Ken Oliver
-Original Message- >From: Kent Johnson <[EMAIL PROTECTED]> >Sent: Aug 6, 2007 3:46 PM >To: Dick Moores <[EMAIL PROTECTED]> >Cc: Python Tutor List >Subject: Re: [Tutor] Ingenious script (IMO) > >Dick Moores wrote: >> At 10:16 AM 8/6/2007, Eric Brunson wrote: >> >> Your point about effici

Re: [Tutor] Still having trouble with my game of life algorithm

2007-05-25 Thread Ken Oliver
udied your code very carefully, but I had a thought. If I understand Conway's rules, if an empty cell has exactly two neighbors, a new "live" cell is spawned. I don't see that you have done this, but it may be something subtle that I missed. ken oliver ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor