Adams Basic Package
>
Adams View
>
View Function Builder
>
Design-Time Functions
>
Functions: R - S
> RUN_PYTHON_FILE
RUN_PYTHON_FILE
Imports the input Python file. If successful, it returns a 1; otherwise, it returns 0.
Format
RUN_PYTHON_FILE(Path to python file)
Arguments
String
Python file path as string.
Example
The following function will return 1:
RUN_PYTHON_FILE ("Test.py")
This site works best with JavaScript enabled