Re: Automatically loading and initialising objects from a plugins directory

2008-07-25 Thread Dave Challis
I'll have a look into metaclasses too, haven't stumbled upon those yet at all. Cheers, Dave - -- ~~~~~~ )<>< <>< ( Dave Challis) [EMAIL PROTECTED](___ -

Re: Automatically loading and initialising objects from a plugins directory

2008-07-22 Thread Dave Challis
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Diez B. Roggisch wrote: > Dave Challis wrote: > >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> I'm trying to write some code which: >> 1. Finds all modules in a plugin directory >> 2. Imports

Automatically loading and initialising objects from a plugins directory

2008-07-22 Thread Dave Challis
this case I'd want to construct an instance of ExamplePlugin) Thanks in advance, Dave - -- ~~ ( Dave Challis) ><> [EMAIL PROTECTED

Re: Any way to loop through object variables?

2008-05-29 Thread Dave Challis
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ah thanks, vars(...) was exactly what I was after. I'd come across dir() before, but this returns more than I need. Thanks again, Dave Saju Pillai wrote: > > On 28-May-08, at 9:49 PM, Gary Herron wrote: > >> Dave Challis wro

Any way to loop through object variables?

2008-05-28 Thread Dave Challis
'd like to iterate over these rather than getting at them by name. Cheers, Dave - -- ~~ __/|_ ><> / o