Creating new Python types in C

Hookflash hookflash at hotmail.com
Fri Aug 11 22:36:03 EDT 2000


How do I create new types/classes in an extension written in C/C++
(i.e., a PyMyClass object that could be instantiated in python using "mc
= myclass()")?  The Python Extending/Embedding docs don't really cover
this, and most of the Python/C api seems practically undocumented (Note:
I'm *not* complaining; I greatly appreciate the efforts put forth by the
Python dev-team/community, but I simply don't have the skill to help
out).  Thanks for your time and help.

Jordan



More information about the Python-list mailing list