Creating new Python types in C

G. David Kuhlman dkuhlman at netcom.com
Sat Aug 12 15:09:43 EDT 2000


You may want to read about extension classes at Digital Creation's
site:

http://www.digicool.com/releases/ExtensionClass/

  - Dave


Hookflash (hookflash at hotmail.com) wrote:
> 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