rtiddsgen language python

2 posts / 0 new
Last post
Offline
Last seen: 8 months 4 weeks ago
Joined: 05/02/2023
Posts: 4
rtiddsgen language python "#include foo/bar" error

We are moving toward replacing the Python Connector with the Python API and our IDL files are also used with C++.   In our case rtiddsgen for python creates invalid python code, for example, in this snippet there is a missing ‘)’ at the end of the line with ‘sys.path.append’   and we also get the general error “NameError: name 'sys' is not defined ”. Details are provided below, please advise.

 

sys.path.append(os.path.join(os.path.dirname(sys.path[0]),  /Test_001/idls/foo/')

Organization:
Subscribe to RSS - rtiddsgen language python