Extending Embedded Python

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Richard Townsend

    #1

    Extending Embedded Python

    In the "Extending and Embedding" part of the Python documentation: section
    5.4 "Extending Embedded Python" - it describes how to use a Python
    extension module from Python that is embedded in a C application.

    Is it safe to call Py_InitModule() more than once in the same application -
    in order to be able to use more than one extension module?

    --
    Richard
  • Fredrik Lundh

    #2
    Re: Extending Embedded Python

    Richard Townsend wrote:
    [color=blue]
    > In the "Extending and Embedding" part of the Python documentation: section
    > 5.4 "Extending Embedded Python" - it describes how to use a Python
    > extension module from Python that is embedded in a C application.
    >
    > Is it safe to call Py_InitModule() more than once in the same application -
    > in order to be able to use more than one extension module?[/color]

    yes.

    </F>



    Comment

    Working...