01-23-2022 01:40 PM
Hi,
So i have been trying to use the native TestStand interpreter to run a Python File that has sys.path.append() used in the file system to find a file that is one folder above (the file is also 1 folder below the sequence file). This works when the python file is just imported into the TestStand Sequence, however, once TestStand is restarted then the file shows no module named "modulename".
The Code looks like this
# importing sys
import sys
sys.path.append("../")
# importing the add and odd_even
# function
from argparsetest import odd_even, add
08-23-2024 08:17 AM
Any chance that you solved this problem?