<?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 Scripts Directory in ExtremeSwitching (EXOS/Switch Engine)</title>
    <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/python-scripts-directory/m-p/37553#M7949</link>
    <description>I'm starting to get a number of pythons scripts on my switches/stacks.  From what I can tell if I create a directory and move the scripts into it I'm not able to execute them.  Even if I cd into the directory, I'm still not able to run them.  It looks like they have to be in the /usr/local/cfg directory.  I just want to make sure that I'm not missing anything.&lt;BR /&gt;
&lt;BR /&gt;
I'm running ExOS 16.1.3.6&lt;BR /&gt;
&lt;BR /&gt;
Thanks!&lt;BR /&gt;
&lt;BR /&gt;</description>
    <pubDate>Wed, 12 Apr 2017 23:08:00 GMT</pubDate>
    <dc:creator>bw447</dc:creator>
    <dc:date>2017-04-12T23:08:00Z</dc:date>
    <item>
      <title>Python Scripts Directory</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/python-scripts-directory/m-p/37553#M7949</link>
      <description>I'm starting to get a number of pythons scripts on my switches/stacks.  From what I can tell if I create a directory and move the scripts into it I'm not able to execute them.  Even if I cd into the directory, I'm still not able to run them.  It looks like they have to be in the /usr/local/cfg directory.  I just want to make sure that I'm not missing anything.&lt;BR /&gt;
&lt;BR /&gt;
I'm running ExOS 16.1.3.6&lt;BR /&gt;
&lt;BR /&gt;
Thanks!&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Apr 2017 23:08:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/python-scripts-directory/m-p/37553#M7949</guid>
      <dc:creator>bw447</dc:creator>
      <dc:date>2017-04-12T23:08:00Z</dc:date>
    </item>
    <item>
      <title>RE: Python Scripts Directory</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/python-scripts-directory/m-p/37554#M7950</link>
      <description>The run script and load script will expect the target script file to be in the directory you are currently in. So, if I cd into a subdirectory off of /usr/local/cfg and then run script {filename.py}, that script will be executed. However, were I to cd back to the /usr/local/cfg directory, and try that same command, I will get a file not found error, or even if I run script ./{subfolder}/{filename.py}, that will give me an invalid filename error.&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Apr 2017 23:32:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/python-scripts-directory/m-p/37554#M7950</guid>
      <dc:creator>Matthew_Helm1</dc:creator>
      <dc:date>2017-04-12T23:32:00Z</dc:date>
    </item>
    <item>
      <title>RE: Python Scripts Directory</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/python-scripts-directory/m-p/37555#M7951</link>
      <description>That has been fixed in 16.2.2p1-3 (or whatever the patch number was), so it's also available with latest 16.2.3.&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Apr 2017 01:05:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/python-scripts-directory/m-p/37555#M7951</guid>
      <dc:creator>Stephane_Grosj1</dc:creator>
      <dc:date>2017-04-13T01:05:00Z</dc:date>
    </item>
    <item>
      <title>RE: Python Scripts Directory</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/python-scripts-directory/m-p/37556#M7952</link>
      <description>Stephane is correct:&lt;BR /&gt;
The bug tracker number for:&lt;BR /&gt;
&lt;B&gt;xos0066610 &lt;/B&gt;run script python does not look in the current working directory for scripts&lt;BR /&gt;
&lt;B&gt;&lt;/B&gt;is fixed in&lt;BR /&gt;
16.2.3&lt;BR /&gt;
21.1.3&lt;BR /&gt;
22.2.1</description>
      <pubDate>Thu, 13 Apr 2017 03:03:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/python-scripts-directory/m-p/37556#M7952</guid>
      <dc:creator>Dave_Hammers</dc:creator>
      <dc:date>2017-04-13T03:03:00Z</dc:date>
    </item>
    <item>
      <title>RE: Python Scripts Directory</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/python-scripts-directory/m-p/37557#M7953</link>
      <description>Thank you everyone for the help!</description>
      <pubDate>Thu, 13 Apr 2017 17:20:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/python-scripts-directory/m-p/37557#M7953</guid>
      <dc:creator>bw447</dc:creator>
      <dc:date>2017-04-13T17:20:00Z</dc:date>
    </item>
  </channel>
</rss>

