WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #6  
Old 02-15-2019, 08:47 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
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:

Code:
# import module in directory above
from .. import my_module

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


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
view_coliision module bbb Vizard 2 08-24-2016 12:46 AM
Could not locate _Vizcore module Bhavesh Vizard 1 06-21-2016 01:48 AM
vizinput module missing whaleeee Vizard 1 02-05-2013 11:30 PM
Exception in module vizjoy fordprefect Vizard 2 12-03-2012 01:41 AM
vhil module vadrian Vizard 2 01-27-2005 11:52 AM


All times are GMT -7. The time now is 05:22 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC