Developers that have leveraged our OPC Data Client toolkit for their custom OPC client development needs know that we’ve historically supported Python as a COM development language, but that had always come with limitations and a desire from our user base for a more modern option.
In the latest V2023.2 release, OPC Data Client now adds support for Python.NET, while also announcing the deprecation of the older COM approach. The newer Python.NET option offers many advantages including, but not limited to:
- Modern, maintained Python.NET package (pythonnet), instead of the older pypiwin32 package
- More than 270 Python.NET examples
- Support for PyCharm as a primary development environment.
- Added performance and reliability that comes from using the OPC Data Client .NET API over the COM API
- Access to .NET features, such as generics, methods overloads, and callbacks
- Easier coding
Now that we have a basic understanding of the advantages that Python.NET has over its predecessor, let’s see it in action!