Forum Discussion
Hi Smasi7,
You need to modify sys.path to make it happen. Refer to this Python documentation for more information: https://docs.python.org/3/library/sys.html
- Smasi7New Contributor
Hi Tanya,
thanks for the reply. I had done this already before, but it seems that I was just not patient enough. Successful execution of the example code below took 90 seconds. Running it a seconds time did not give me output to the logs at all although a successful exit was indicated: it seems that the module is not properly unloaded with the prior test exit. Is there anything I have missed to consider for speeding up things or for a successful exit?
from os import sys
sys.path.append("C:\Python34\Lib\site-packages")
from numpy import mean
def test():
b = mean([3,1,17])
Log.Message(str(b))