[Tutor] Help Designing a simple Program called Life

2012-02-22 Thread leo degon
Hello All, My name is Leo. I'm just beginning to learn python. I am learning on my own and have no previous programming experience. I decided to create a version of john conway's game of life as a personal project. I've been wondering what GUI to use. I've been using Tkinter so far bu

[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

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

2012-04-17 Thread leo degon
ce,i,j,boundry) mortality=determinelife(surronding,space,i,j) new[i][j]=mortality space=new[:] print('---Turn %s' %(str(turn+1))) printset(space) print("This is the end ") On Tue, Apr 10, 2012 at

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

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

2012-04-18 Thread leo degon
ng(space,i,j,boundry,basesurrounding(space,i,j)) mortality=determinelife(surrounding,space,i,j) new[i][j]=mortality space=new[:] print('---Turn %s' %(str(turn+1))) printset(space) print("This is the end &q

[Tutor] Question about lists

2012-09-21 Thread Leo Degon
I'm trying to create a class where the main focus is creating a list whose elements are lists and the elements of those lists are collection of zeros and ones. I am trying to create functions to rotate the list ninety degrees, to reflect it. Having a few problems with the rotation. get TypeError: '

[Tutor] reloading a module

2012-10-03 Thread Leo Degon
So Ive got code that i import a module to get certain saved variables, where i edit the text file that comprises the module to edit those saved variable. My problem is I cant reload the module to access those modified variables. I was wondering how can i reload or otherwise refresh the module. pyth