Chaste / cppwg

An automatic Python wrapper generator for C++ code.
BSD 3-Clause "New" or "Revised" License
45 stars 8 forks source link

Fix example imports #39

Closed kwabenantim closed 4 weeks ago

kwabenantim commented 5 months ago

Description

This works fine in the example:

from pyshapes.geometry import Point2

This does not seem to work, however:

import pyshapes.geometry.Point2

It throws this error:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'pyshapes.geometry.Point2'