Re: [Tutor] Game of python, help please.

2012-04-18 Thread leo degon
I actually just finished it, without the extra cells. I used a combiniation of two functions and a some exception handling to do so. Here is the script. #leoslife.py # John Conways Game of Life. plan='''displays: the text of the game of life for a set number of X x Y for a set of R turns. [-][-

Re: [Tutor] Game of python, help please.

2012-04-18 Thread bob gailer
On 4/17/2012 2:23 PM, leo degon wrote: > Ok so I've done a bit of work on the program and rewrote it. I tried to take everyones advice. I've used more functions, > I've made it so that it is a list of lists each containing an integer instead of another list with a single entry. I'm glad to se

Re: [Tutor] Game of python, help please.

2012-04-17 Thread leo degon
Ok that was simple change. Dont know why but there was a small error preventing that from working before. But the problem is with the creating findsurrounding function On Tue, Apr 17, 2012 at 3:14 PM, Alan Gauld wrote: > On 17/04/12 19:23, leo degon wrote: > >> Ok so I've done a bit of work on th

Re: [Tutor] Game of python, help please.

2012-04-17 Thread Alan Gauld
On 17/04/12 19:23, leo degon wrote: Ok so I've done a bit of work on the program and rewrote it. I tried to take everyones advice. I've used more functions, I've made it so that it is a list of lists each containing an integer instead of another list with a single entry. It still looks too comp

Re: [Tutor] Game of python, help please.

2012-04-17 Thread leo degon
Ok so I've done a bit of work on the program and rewrote it. I tried to take everyones advice. I've used more functions, I've made it so that it is a list of lists each containing an integer instead of another list with a single entry. Im am having problems thinking of how to simply and elegantly

Re: [Tutor] Game of python, help please.

2012-04-10 Thread bob gailer
On 4/9/2012 10:56 PM, Dave Angel wrote: On 04/09/2012 10:33 PM, bob gailer wrote: On 4/9/2012 2:26 AM, leo degon wrote: Hello all, Im trying to learn python and programming in my free time, and I'm trying to do a little personal project to trying and gain some skills. Im trying to do version of

Re: [Tutor] Game of python, help please.

2012-04-09 Thread Dave Angel
On 04/09/2012 10:33 PM, bob gailer wrote: > On 4/9/2012 2:26 AM, leo degon wrote: >> Hello all, Im trying to learn python and programming in my free time, >> and I'm trying to do a little personal project to trying and gain >> some skills. Im trying to do version of John conways game of life. I >>

Re: [Tutor] Game of python, help please.

2012-04-09 Thread bob gailer
On 4/9/2012 2:26 AM, leo degon wrote: Hello all, Im trying to learn python and programming in my free time, and I'm trying to do a little personal project to trying and gain some skills. Im trying to do version of John conways game of life. I have a working version of the game. Written for 3.2.

Re: [Tutor] Game of python, help please.

2012-04-09 Thread Dave Angel
On 04/09/2012 02:26 AM, leo degon wrote: > Hello all, Im trying to learn python and programming in my free time Welcome to the list; I think you'll enjoy Python programming, and think it makes an excellent first language. > , and > I'm trying to do a little personal project to trying and gain so

[Tutor] Game of python, help please.

2012-04-08 Thread leo degon
Hello all, Im trying to learn python and programming in my free time, and I'm trying to do a little personal project to trying and gain some skills. Im trying to do version of John conways game of life. I have a working version of the game. Written for 3.2.2 on a mac to be accessed through terminal