Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Info

Download the Solution Example: Python.dbsln

  • Solution Name: Python
  • Software Version: 10.0.6
  • Keywords: Python, Scripts

Summary

This solution demonstrates the Integration of Python and .NET scripts.


Technical Information

Python can be used on the system directly calling shell commands, or using the .NET Python integrations tools.

The Example shows the various ways you can use the Python language in your solutions. 

For this Solution Example to work, you must first install Python. Learn more at Python Integration.


Example 1: Python Standard 

In this example, we use the system to code directly with Python, accessing Tag values.


Example 2: PythonShellBasic

In this example, the code calls the execution of the external file using the Python Shell, passing parameters and collecting the result.


Example 3: PythonShellDataAccess

In this example, the code calls the execution of the external file using the Python Shell.



Reference

See Python Integration for more information.


In this section:

Page Tree
root@parent