Re: reflection as in Java: how to create an instance from a classname

2009-01-06 Thread guss
ed to reflection and introspection) standardized in an api supported by default by Python. Who doesn't need to load or create a class (a plugin object ...) from a configuration file these days. Cheers Guillaume > On Jan 6, 2:24 am, guss wrote: > > > > > hi Thanks f

Re: reflection as in Java: how to create an instance from a classname

2009-01-06 Thread guss
need for a high level API. Maybe it already exists, if anyone knows please tell me. Thanks. Guillaume On Jan 5, 5:34 pm, Bruno Desthuilliers wrote: > guss a écrit : > > > > > I cannot find a satisfying answer to this question on the web so let's > >

reflection as in Java: how to create an instance from a classname

2009-01-05 Thread guss
I cannot find a satisfying answer to this question on the web so let's try here. My problem is the following, I would like to instantiate some object from a configuration file that would contain class names like for example classname=org.common.resource.MyResource. Here my resource is the class to