ANVEL 2.5 Python path issue
I'm trying to get through the built-in Python tutorial and followed all the instructions. However, I still can't run any scripts from the Python Console. I've checked the path (sys.path) and made sure it includes the folders that contain my scripts. However, when I try running any of them using the exec() command, I get the "No such file or directory" message:
['C:\Program Files\ANVEL25\bin\common\Python\x64\python27.zip', '.', '', 'C:\Users\simulator3\AppData\Local\Anvel\/Scripts/', 'C:\Users\simulator3\AppData\Local\Anvel\/Scripts/AutoGenObjectScripts/', 'C:\Users\simulator3\AppData\Local\Anvel\Scripts', 'C:/Users/simulator3/AppData/Local/Anvel/Scripts', 'C:\Temp']
(Hello.py lives in several of the folders in 'path', including C:\Temp)
Thanks for reaching out. This does indeed look like an issue in how we're handling relative paths in the Python console. In the meantime, it appears that specifying the absolute path to the script does work. Try:
Cool, thanks for checking.