Go to www.awrcorp.com
Back to search page Click to download printable version of this guide.

9.4. Python

Python is an open-source complete programming language, supporting function definitions, loops, conditional statements, etc. Python scripts can import other Python scripts, as well as dynamic-link libraries. Python can also be used to define functions that are used as "callbacks" to internal operations, e.g., integration of a user-defined function along a path through an analysis result dataset. Analyst uses Python 3.

Analyst supports the NumPy package for scientific computing in Python. To access the NumPy API, simply enter "import numpy" in the Python scripting control.

Please send email to awr.support@ni.com if you would like to provide feedback on this article. Please make sure to include the article link in the email.

Legal and Trademark Notice