Python 2.7 is part of EXOS since 15.6. You can script and interact with EXOS (send EXOS cmd and capture the result, in text, xml or both), create sockets, and all the good thing Python can do with the standard library.
And there's more to come in the short term (15.7).