SR OS uses version 2 and version 3 of the Python language.
Python 2 is available only for ESM and Syslog applications. For more information, see Customizing syslog messages using Python 2 and the 7450 ESS, 7750 SR, and VSR Triple Play Service Delivery Architecture Guide, "Python script support for ESM".
Python 3 is available only for Python applications run in the MD-CLI using the pyexec or alias commands, and for applications executed remotely.
The remainder of this section references the SR OS Python 3 functionality only.