This is an old copy of the Python FAQ. The information here may be outdated.

Can I create my own functions in C?

Yes, you can create built-in modules containing functions, variables, exceptions and even new types in C. This is explained in the document Extending and Embedding the Python Interpreter (dead link).

Most intermediate or advanced Python books will also cover this topic.

CATEGORY: extending


A Django site. rendered by a django application. hosted by webfaction.