subclassing an extension class in c++ (python 3)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Nico Müller
    New Member
    • Apr 2011
    • 1

    subclassing an extension class in c++ (python 3)

    Hello everybody,

    I read in the extending and embedding documentation of python 3, that it is easily possible to subclass or subtype a built-in type. However, in my case, I would like to subclass a class, defined in a external python-file (py), which I can import in my C++-application and access the class by the module's dictionary.

    Does anybody have an example or just a hint, how to successfully realize this type of inheritance?

    I will be grateful for every response.

    Cheers
Working...