Re: constructor question

2008-01-21 Thread azrael
5 days ago I looked at it and didn't take a notice. thnx, this helped On Jan 22, 12:10 am, TeroV <[EMAIL PROTECTED]> wrote: > azrael wrote: > > lets supose i have a object > > class a: >   __init__(self,b): >        self.b=b > > object=a(2) > > > how can I bind the object wit

Re: constructor question

2008-01-21 Thread TeroV
azrael wrote: > lets supose i have a object > class a: __init__(self,b): self.b=b > object=a(2) > > > how can I bind the object with "print". I supose that this should be > possible with a constructor. but I don't know how. > print a > 2 > > Something like th