<?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: Package Third-Party Module with Python Addin in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/package-third-party-module-with-python-addin/m-p/402049#M31665</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;If sendkeys is just a single .py file, you should be able to just drop it in the Install\ directory of your add-in project and it will be importable from your add-in .py, and it will be bundled in the .esriaddin when you package it.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That worked! Thanks Jason!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Nov 2013 13:47:09 GMT</pubDate>
    <dc:creator>JohnDye</dc:creator>
    <dc:date>2013-11-18T13:47:09Z</dc:date>
    <item>
      <title>Package Third-Party Module with Python Addin</title>
      <link>https://community.esri.com/t5/python-questions/package-third-party-module-with-python-addin/m-p/402047#M31663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Does anyone know how I would go about packaging a third-party Python Site Package with an addin.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to package SendKeys with my addins so that I can implement a programmatic method of Pause Drawing (F9) and forcing the Continuous Zoom Tools, the little magnifying glass ones in ArcMap, to honor Reference Scales established in the MXD (CTRL).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm confused as to whether I should put the Site Package into the Data Folder in a subfolder named 'Site Packages' or if I should just drop the .py file into the Root Folder of the addin.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;From there, I'm also not sure how to import the module into the script...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any suggestions would be greatly appreciated!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Nov 2013 13:29:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/package-third-party-module-with-python-addin/m-p/402047#M31663</guid>
      <dc:creator>JohnDye</dc:creator>
      <dc:date>2013-11-15T13:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: Package Third-Party Module with Python Addin</title>
      <link>https://community.esri.com/t5/python-questions/package-third-party-module-with-python-addin/m-p/402048#M31664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If sendkeys is just a single .py file, you should be able to just drop it in the Install\ directory of your add-in project and it will be importable from your add-in .py, and it will be bundled in the .esriaddin when you package it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Nov 2013 13:58:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/package-third-party-module-with-python-addin/m-p/402048#M31664</guid>
      <dc:creator>JasonScheirer</dc:creator>
      <dc:date>2013-11-15T13:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: Package Third-Party Module with Python Addin</title>
      <link>https://community.esri.com/t5/python-questions/package-third-party-module-with-python-addin/m-p/402049#M31665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;If sendkeys is just a single .py file, you should be able to just drop it in the Install\ directory of your add-in project and it will be importable from your add-in .py, and it will be bundled in the .esriaddin when you package it.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That worked! Thanks Jason!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Nov 2013 13:47:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/package-third-party-module-with-python-addin/m-p/402049#M31665</guid>
      <dc:creator>JohnDye</dc:creator>
      <dc:date>2013-11-18T13:47:09Z</dc:date>
    </item>
  </channel>
</rss>

