You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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:

The root page @parent could not be found in space v10.

  • No labels