This forum has been archived. Please start a
new discussion on GitHub
Python: #include/import problem with slice2py
including a slice from
which leads to an Syntax Error.
Section 22.15 of the Ice manual describes the semantics of include files in the Python language mapping. It is the user's responsibility to ensure that #include statements are translated into an equivalent import statement that is appropriate for your environment.
For example, if you include the option -I../.. when running slice2py, then the import statement becomes
See the Ice manual for more information.