Re: Moving from PHP to Python. Part Two

2009-12-14 Thread Terry Reedy
On 12/14/2009 2:49 PM, Jon Clements wrote: class Registry: data = {} def __init__(self,environ): self.data['env'] = environ self.data['init'] = 'hede' def set_entry(self,key,data): self.data[key] = data de

Re: Moving from PHP to Python. Part Two

2009-12-14 Thread Jon Clements
> > class Registry: > >         data = {} > >         def __init__(self,environ): >                 self.data['env'] = environ >                 self.data['init'] = 'hede' > >         def set_entry(self,key,data): >                 self.data[key] = data > >         def get_entry(self,key): >      

Re: Moving from PHP to Python. Part Two

2009-12-14 Thread Jon Clements
On Dec 14, 12:55 pm, Sancar Saran wrote: > Hello Again. > > I hope, I don't bug too much. > > First of all. I want to Thank to everyone who respond my messages. > > I was able to do some of my needs and stuck some others. > > So ? I need help again. > > And here my progress.. > > Following was my

Re: Moving from PHP to Python. Part Two

2009-12-14 Thread Diez B. Roggisch
Sancar Saran wrote: > Hello Again. > > I hope, I don't bug too much. > > First of all. I want to Thank to everyone who respond my messages. > > I was able to do some of my needs and stuck some others. > > So ? I need help again. > > And here my progress.. > > Following was my globalized regi