Re: [Tutor] __init__ arguments storage

2008-09-20 Thread Rob Kirkpatrick
some (and very quick) reply. Thanks again! Rob On Sat, Sep 20, 2008 at 12:44 PM, Kent Johnson <[EMAIL PROTECTED]> wrote: > On Sat, Sep 20, 2008 at 1:32 PM, Rob Kirkpatrick > <[EMAIL PROTECTED]> wrote: > > Hi All, > > > > In between an object's creation and ca

[Tutor] __init__ arguments storage

2008-09-20 Thread Rob Kirkpatrick
Hi All, In between an object's creation and call to __init__, where are the __init__ arguments stored? Is there a class dictionary that init uses to initialize the instance? I tried printing Class.__init__, but they aren't in there. The reason I ask is that I was trying to track down a bug wher

Re: [Tutor] Possible to import imports?

2008-06-23 Thread Rob Kirkpatrick
nny though that I did try using something like foo.datetime but I must have buggered up something cause I couldn't get it to work... Thanks Kent! On Mon, Jun 23, 2008 at 12:03 PM, Kent Johnson <[EMAIL PROTECTED]> wrote: > On Mon, Jun 23, 2008 at 1:27 PM, Rob Kirkpatrick > <[EMA

[Tutor] Possible to import imports?

2008-06-23 Thread Rob Kirkpatrick
I've googled a bit and tried some things on my own, but can't seem to determine if it's possible to declare some standard library imports in one package/module then import that package/module somewhere else and reap the benefit of those initial imports. For example, if I have a setup like this: f