<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Python version on XMC in ExtremeCloud IQ- Site Engine Management Center</title>
    <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/python-version-on-xmc/m-p/14957#M28</link>
    <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
what version of python is used in the XMC scripting engine?&lt;BR /&gt;
&lt;BR /&gt;
As I see both versions (Python2 and Python3) are available on XMC ubuntu.&lt;BR /&gt;
&lt;BR /&gt;
Best regards&lt;BR /&gt;
Stephan&lt;BR /&gt;</description>
    <pubDate>Tue, 10 Jul 2018 15:12:00 GMT</pubDate>
    <dc:creator>StephanH</dc:creator>
    <dc:date>2018-07-10T15:12:00Z</dc:date>
    <item>
      <title>Python version on XMC</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/python-version-on-xmc/m-p/14957#M28</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
what version of python is used in the XMC scripting engine?&lt;BR /&gt;
&lt;BR /&gt;
As I see both versions (Python2 and Python3) are available on XMC ubuntu.&lt;BR /&gt;
&lt;BR /&gt;
Best regards&lt;BR /&gt;
Stephan&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Jul 2018 15:12:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/python-version-on-xmc/m-p/14957#M28</guid>
      <dc:creator>StephanH</dc:creator>
      <dc:date>2018-07-10T15:12:00Z</dc:date>
    </item>
    <item>
      <title>RE: Python version on XMC</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/python-version-on-xmc/m-p/14958#M29</link>
      <description>Hi Stephan,&lt;BR /&gt;
&lt;BR /&gt;
First possible different version by XMC version and running environment.&lt;BR /&gt;
But able to check current running Python version by sys.version.&lt;BR /&gt;
&lt;BR /&gt;
Sample code.&lt;BR /&gt;
#&lt;B&gt;@METADATASTART&lt;/B&gt; #@DetailDescriptionStart ################################################################ # System Script # # Script        : Check ver. # Revision      : 1.0 # Last updated  : 7/12/2018 # Purpose       : Check running Py version # ################################################################ #@DetailDescriptionEnd #&lt;B&gt;@ScriptDescription&lt;/B&gt; "Check ver." #&lt;B&gt;@SectionStart&lt;/B&gt; ( description = "Check running Python version.") #&lt;B&gt;@SectionEnd&lt;/B&gt; #&lt;B&gt;@MetaDataEnd&lt;/B&gt; import sys sys.path.append('/usr/local/Extreme_Networks/NetSight/appdata/scripting') import os from xmclib import emc_vars from xmclib import logger  print("Running Python version is: %s" % sys.version) &lt;BR /&gt;
And run it at XMC: Tasks &amp;gt; Scripts. &lt;BR /&gt;
Below is result.   &lt;BR /&gt;
Running Python version is: &lt;B&gt;2.7.1&lt;/B&gt; (, Jul 8 2017, 22:14:05)</description>
      <pubDate>Wed, 11 Jul 2018 06:03:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/python-version-on-xmc/m-p/14958#M29</guid>
      <dc:creator>tknv</dc:creator>
      <dc:date>2018-07-11T06:03:00Z</dc:date>
    </item>
    <item>
      <title>RE: Python version on XMC</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/python-version-on-xmc/m-p/14959#M30</link>
      <description>Hello tknv,&lt;BR /&gt;
&lt;BR /&gt;
thank you very much for your detailed answer.&lt;BR /&gt;
&lt;BR /&gt;
Do you have an hint for my other question here, too? &lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="https://community.extremenetworks.com/extreme/topics/xmc-and-python-install-additional-modules" target="_blank" rel="nofollow noreferrer noopener"&gt;https://community.extremenetworks.com/extreme/topics/xmc-and-python-install-additional-modules&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
As I can see in you comment there is a xmclib with python modules. Do I have install new modules in there?&lt;BR /&gt;
&lt;BR /&gt;
Best regards&lt;BR /&gt;
Stephan</description>
      <pubDate>Wed, 11 Jul 2018 17:02:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/python-version-on-xmc/m-p/14959#M30</guid>
      <dc:creator>StephanH</dc:creator>
      <dc:date>2018-07-11T17:02:00Z</dc:date>
    </item>
  </channel>
</rss>

