<?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 Re: Python Addin quwstion in Transportation Questions</title>
    <link>https://community.esri.com/t5/transportation-questions/python-addin-quwstion/m-p/698322#M2310</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: JSkinn3&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Hank,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For your onClick function, try specify 'r' before the path to your script.&amp;nbsp; Ex:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;def onClick(self):
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; script = r"F:\Mark\Copy.py"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; execfile(script)&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 05:23:18 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2021-12-12T05:23:18Z</dc:date>
    <item>
      <title>Python Addin quwstion</title>
      <link>https://community.esri.com/t5/transportation-questions/python-addin-quwstion/m-p/698321#M2309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: chyang0107&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a problem wit the Python Addin (10.1). I have followed the link (the python addin instruction) to create a button to execute&amp;nbsp; the python code I want. I can see my addin application in the Add-in Manager in ArcMap. However, the toolbar can not be activated and the icon is missing. I have browsed the ESRI forum (python) first to look for the resource. A post mentioned the python window in ArcMap can automatically shows the error. However, the window does not point any error. My computer is 64 bit computer (&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hopefully this is not the problem). I wonder if you all could give me some suggestions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;link : &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#/button/014p0000001z000000/"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#/button/014p0000001z000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hank&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Sep 2013 21:57:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/transportation-questions/python-addin-quwstion/m-p/698321#M2309</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2013-09-16T21:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: Python Addin quwstion</title>
      <link>https://community.esri.com/t5/transportation-questions/python-addin-quwstion/m-p/698322#M2310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: JSkinn3&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Hank,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For your onClick function, try specify 'r' before the path to your script.&amp;nbsp; Ex:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;def onClick(self):
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; script = r"F:\Mark\Copy.py"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; execfile(script)&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 05:23:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/transportation-questions/python-addin-quwstion/m-p/698322#M2310</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-12-12T05:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: Python Addin quwstion</title>
      <link>https://community.esri.com/t5/transportation-questions/python-addin-quwstion/m-p/698323#M2311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: chyang0107&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi JSkinn3,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for the information. It works!!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank again,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hank&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Sep 2013 14:54:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/transportation-questions/python-addin-quwstion/m-p/698323#M2311</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2013-09-17T14:54:01Z</dc:date>
    </item>
  </channel>
</rss>

