Python is a dynamic language. You can start in a simple linear programming style ("batch files") and later add the necessary and more powerful means, such as conditions, loops, functions, exceptions, classes, and modules. The focus of the language is on easy and expressive code. Python is more typical at runtime and uses an automatic garbage collector to protect the programmer from accidental damage to the entire system.
IronPython is an implementation of Python for .NET and allows for full access to the .NET framework and classes. The implementation of the IronPython interpreter is based on Python Version 2.7.
There are a variety of free manuals and help pages on the Internet. See the following links for an introduction and detailed introduction about IronPython.
-
⮫ http://forum.codesys.com/viewforum.php: "Script language Python..." area in the CODESYS forum
-
Especially for CODESYS-specific questions
-
Also includes some examples
-
-
⮫ https://docs.python.org/2/tutorial/index.html:: Python tutorial in the official Python documentation
-
⮫ http://docs.python.org/release/2.7/: Official documentation for Python 2.7
-
⮫ http://wiki.python.org/moin/BeginnersGuide: Useful manuals for learning IronPython
-
⮫ http://wiki.python.org/moin/GermanLanguage: Collection of links for German help pages
-
⮫ http://stackoverflow.com/: General community for programming
For general question about (Iron)Python, not CODESYS-specific
-
⮫ http://ironpython.net/: IronPython homepage
-
⮫ http://ironpython.net/support/: Mailing list, FAQ, etc.
-
⮫ https://gitter.im/IronLanguages/ironpython:: Chat channel for IronPython developers
Version incompatibility to Python V3.x
Version incompatibility to Python V3.x
The Python programming language will soon be available in the new version V3.x. Some
of the older program modules have been removed. CODESYS GmbH is planning an update to this new version. Scripting developers should take this
into consideration and design their scripts accordingly, for example by using the
expression from __future__ import print_function
. You can find more information about this topic at ⮫ http://wiki.python.org/moin/Python2orPython3 and ⮫ http://docs.python.org/release/3.1.2/whatsnew/3.0.html
-
Getting Started with Python for CODESYS
-
Tips for Python Programmers about .NET API Documentation
-
Basic Syntax of Python (with Examples)
-
Python Control Structures (with Examples)
-
Transitioning from Python 2 to Python 3
-
Comparison of IronPython and cPython