469,916 Members | 2,371 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,916 developers. It's quick & easy.

Dynamic classes

Hi,

Sorry to mail this list (not sure how big it is) but I have a problem with
python and was wondering if you may be able to help.

I have a package that people can add classes to (just copy a class to that
folder)

But now I would like to create an instance of the classes based on a set of
rules (depending on the __init__ signature)

So my question is: Is there a way of finding out what the signature of a
class is dynamically without trying to create an instance , and without
writing a text parser to read the file?
Many thanks in advance
Steven
Jul 18 '05 #1
0 747

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Timothy Stark | last post: by
reply views Thread by Shailesh | last post: by
reply views Thread by Pascal Costanza | last post: by
7 posts views Thread by Mike Livenspargar | last post: by
11 posts views Thread by toton | last post: by
5 posts views Thread by Guillermo Schwarz | last post: by
2 posts views Thread by doomer | last post: by
5 posts views Thread by bearophileHUGS | last post: by
1 post views Thread by Waqarahmed | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.