Re: [Tutor] [tutor] creating list of tuples

2008-02-25 Thread Varsha Purohit
I think i got it i m creating a tuple of 2 elements everytime and i m adding it to a list. i m creating a new tup everytime and adding it to a list for x in file: value=0 tup = () for developerAgent in developers: #print developerA

Re: [Tutor] Standalone Version

2008-02-25 Thread Kent Johnson
Artur Sousa wrote: > > level = (int(input(u"Digite o n\u00EDvel de seu bosque, po\u00E7o de > argila ou mina: "))) > quantity = (int(input(u"Digite a quantidade de recursos a serem > alcan\u00E7ados: "))) > if level == 1: phour = 60 > ... > ... > if level == 19: phour = 911 > ... > ... > if leve

Re: [Tutor] [tutor] creating list of tuples

2008-02-25 Thread Kent Johnson
Varsha Purohit wrote: > Hello all, >In my application i have to create a list of tuples. I have a for > loop which will create (x,y) tuple each time it iterates, and i ahve to > store each tuple in a list like > > list1= [(x1,y1), (x2,y2).] > > any ideas how to do that ??? list1 =

[Tutor] [tutor] creating list of tuples

2008-02-25 Thread Varsha Purohit
Hello all, In my application i have to create a list of tuples. I have a for loop which will create (x,y) tuple each time it iterates, and i ahve to store each tuple in a list like list1= [(x1,y1), (x2,y2).] any ideas how to do that ??? thanks, -- Varsha Purohit, Graduate Student __

Re: [Tutor] library to create venn diagrams?

2008-02-25 Thread Alan Gauld
"Terry Carroll" <[EMAIL PROTECTED]> wrote > Also, a Venn diagram technically is a subset of the more general > Euler > diagram. The Venn diagram illustrates regions for all possible > combinations of intersections, e.g., for three sets ABC, A-only, > B-only, > C-only, A+B only, A+C only, B+C o

Re: [Tutor] library to create venn diagrams?

2008-02-25 Thread Terry Carroll
On Tue, 26 Feb 2008, John Fouhy wrote: > On 25/02/2008, Danny Navarro <[EMAIL PROTECTED]> wrote: > > Hi all, > > > > Does anyone know a Python library to generate Venn diagrams with more > > than 3 datasets? The area of the datasets and the intersections should > > be proportional to the quanti

Re: [Tutor] library to create venn diagrams?

2008-02-25 Thread John Fouhy
On 25/02/2008, Danny Navarro <[EMAIL PROTECTED]> wrote: > Hi all, > > Does anyone know a Python library to generate Venn diagrams with more > than 3 datasets? The area of the datasets and the intersections should > be proportional to the quantity of data. I don't ... ... also, how would you dr

Re: [Tutor] web.py vs webwareforpython

2008-02-25 Thread OkaMthembo
@Kent, that's some useful background info. @Marc, i also thought about the issue of Python hosts not supporting long-running processes. Do check with WebFaction though http://www.webfaction.com - apparently one can get Python hosting that allows installation of certain server modules e.g. mod_pyth