View Single Post
Old 02-15-2019, 09:47 PM
Jeff Jeff is offline
WorldViz Team Member
Join Date: Aug 2008
Posts: 2,461
It does not look like the autocomplete is set to work with paths added on the fly using the sys.path.insert command. It may work by adding to the PYTHONPATH environment variable.

If the module is in a directory above you could use the following code to import the module. I just tested and this worked for me with the autocomplete:

# import module in directory above
from .. import my_module

# import module two directories above
from ... import my_module
Reply With Quote