<?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: cannot get pythonwin working with ArcGIS 10.6.1 in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/cannot-get-pythonwin-working-with-arcgis-10-6-1/m-p/145101#M11321</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i uninstalled python, reinstalled arcgis desktop, reinstalled python and pythwin and this is what get:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/475029_screenshot.jpeg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sorry. not sure how to make the text bigger&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Dec 2019 14:56:19 GMT</pubDate>
    <dc:creator>RickHawkins</dc:creator>
    <dc:date>2019-12-02T14:56:19Z</dc:date>
    <item>
      <title>cannot get pythonwin working with ArcGIS 10.6.1</title>
      <link>https://community.esri.com/t5/python-questions/cannot-get-pythonwin-working-with-arcgis-10-6-1/m-p/145087#M11307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using ArcMap 10.6.1 and am trying to install and use pythonwin but i am not having much luck. What version of pythonwin should i be using and what version of python? When i try to enter import arcpy i get an error saying that module does not work. I am using&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;pywin32-217.win32-py2.7.exe.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;If i did not provide enough information please let me know. I just started learning python scripting for ArcGIS&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2019 19:29:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/cannot-get-pythonwin-working-with-arcgis-10-6-1/m-p/145087#M11307</guid>
      <dc:creator>RickHawkins</dc:creator>
      <dc:date>2019-11-21T19:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: pythonwin</title>
      <link>https://community.esri.com/t5/python-questions/cannot-get-pythonwin-working-with-arcgis-10-6-1/m-p/145088#M11308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need the version for python 2.7.&lt;/P&gt;&lt;P&gt;You also have to use ArcMap's python interpreter... It sounds like you have a disconnect between the two&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; sys
sys&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;executable&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;what does that report? and is it to the python that arcmp uses?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 07:56:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/cannot-get-pythonwin-working-with-arcgis-10-6-1/m-p/145088#M11308</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2021-12-11T07:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: pythonwin</title>
      <link>https://community.esri.com/t5/python-questions/cannot-get-pythonwin-working-with-arcgis-10-6-1/m-p/145089#M11309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when i enter the two commands into a pythonwin window i get nothing showing in the results section&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2019 19:52:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/cannot-get-pythonwin-working-with-arcgis-10-6-1/m-p/145089#M11309</guid>
      <dc:creator>RickHawkins</dc:creator>
      <dc:date>2019-11-21T19:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: pythonwin</title>
      <link>https://community.esri.com/t5/python-questions/cannot-get-pythonwin-working-with-arcgis-10-6-1/m-p/145090#M11310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; overflow-wrap: break-word; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px;"&gt;o you don't see something like this ?? (I can run pythonwin form ArcGIS pro, so the first part of the path isn't relevant... only the portion from … site-packages onwards is key&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; overflow-wrap: break-word; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px;"&gt;If memory serves, python for arcmap is installed in c:\python(version number etc)&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; overflow-wrap: break-word; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px;"&gt;&lt;IMG alt="" class="image-1 jive-image" height="306" src="https://community.esri.com/legacyfs/online/474271_pytonwin.png" style="border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; height: auto; max-width: calc(-40px + 100%); margin: 2px 20px 0px 20px; border: 0px none currentColor;" width="734" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2019 20:42:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/cannot-get-pythonwin-working-with-arcgis-10-6-1/m-p/145090#M11310</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-11-21T20:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: pythonwin</title>
      <link>https://community.esri.com/t5/python-questions/cannot-get-pythonwin-working-with-arcgis-10-6-1/m-p/145091#M11311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i get the following:&amp;nbsp;&amp;nbsp;'C:\\Python27\\Lib\\site-packages\\pythonwin\\Pythonwin.exe'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2019 20:52:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/cannot-get-pythonwin-working-with-arcgis-10-6-1/m-p/145091#M11311</guid>
      <dc:creator>RickHawkins</dc:creator>
      <dc:date>2019-11-21T20:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: pythonwin</title>
      <link>https://community.esri.com/t5/python-questions/cannot-get-pythonwin-working-with-arcgis-10-6-1/m-p/145092#M11312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;How do you use ArcMap's python interpreter? Right now i instatlled Python 2.7 and pywin 32 build 214. I tried the following code and get these errors. How do you get pythonwin to work with a current GIS document? &lt;IMG alt="" class="jive-emoji image-1 jive-image j-img-original" src="/legacyfs/online/474418_screenshot of code.jpeg" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Nov 2019 13:31:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/cannot-get-pythonwin-working-with-arcgis-10-6-1/m-p/145092#M11312</guid>
      <dc:creator>RickHawkins</dc:creator>
      <dc:date>2019-11-22T13:31:08Z</dc:date>
    </item>
    <item>
      <title>Re: pythonwin</title>
      <link>https://community.esri.com/t5/python-questions/cannot-get-pythonwin-working-with-arcgis-10-6-1/m-p/145093#M11313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I haven't used arcmap in ages, but if memory serves there should be a&lt;/P&gt;&lt;P&gt;C:\pythonxx\ folder on you computer followed by something like arcmapxx.&lt;/P&gt;&lt;P&gt;pythonwin has to be installed in the site-packages folder in that path.&lt;/P&gt;&lt;P&gt;I suspect that you might have more than one python 2.7... uninstall one of them would be my recommendation and use the python that is installed in the aforementioned path.&lt;/P&gt;&lt;P&gt;So crankup File Explorer and see if you can locate in the root directory of C or in C:\Program Files&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Nov 2019 15:50:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/cannot-get-pythonwin-working-with-arcgis-10-6-1/m-p/145093#M11313</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-11-22T15:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: cannot get pythonwin working with ArcGIS 10.6.1</title>
      <link>https://community.esri.com/t5/python-questions/cannot-get-pythonwin-working-with-arcgis-10-6-1/m-p/145094#M11314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dan, Sorry i am using ArcGIS Desktop 10.6.1.&lt;/P&gt;&lt;P&gt;Still learning&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Nov 2019 15:59:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/cannot-get-pythonwin-working-with-arcgis-10-6-1/m-p/145094#M11314</guid>
      <dc:creator>RickHawkins</dc:creator>
      <dc:date>2019-11-22T15:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: cannot get pythonwin working with ArcGIS 10.6.1</title>
      <link>https://community.esri.com/t5/python-questions/cannot-get-pythonwin-working-with-arcgis-10-6-1/m-p/145095#M11315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;we all are... let me know if you can't find the path to python which has the arcmap version number in it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Nov 2019 16:25:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/cannot-get-pythonwin-working-with-arcgis-10-6-1/m-p/145095#M11315</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-11-22T16:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: cannot get pythonwin working with ArcGIS 10.6.1</title>
      <link>https://community.esri.com/t5/python-questions/cannot-get-pythonwin-working-with-arcgis-10-6-1/m-p/145096#M11316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is the path to python.exe is:&amp;nbsp;C:\Python27\ArcGIS10.6&lt;/P&gt;&lt;P&gt;When i try to run the simple code shown above i get "no module named numpy". How do i get around this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Nov 2019 18:03:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/cannot-get-pythonwin-working-with-arcgis-10-6-1/m-p/145096#M11316</guid>
      <dc:creator>RickHawkins</dc:creator>
      <dc:date>2019-11-22T18:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: cannot get pythonwin working with ArcGIS 10.6.1</title>
      <link>https://community.esri.com/t5/python-questions/cannot-get-pythonwin-working-with-arcgis-10-6-1/m-p/145097#M11317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Find and check the &lt;STRONG&gt;site-package&lt;/STRONG&gt;s folder in that path and look for numpy.&amp;nbsp; If it was installed, it should be there&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Nov 2019 19:25:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/cannot-get-pythonwin-working-with-arcgis-10-6-1/m-p/145097#M11317</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-11-22T19:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: cannot get pythonwin working with ArcGIS 10.6.1</title>
      <link>https://community.esri.com/t5/python-questions/cannot-get-pythonwin-working-with-arcgis-10-6-1/m-p/145098#M11318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the following:&amp;nbsp;C:\Python27\ArcGIS10.6\Lib\site-packages\numpy. It is installed so why do i get the error?&lt;/P&gt;&lt;P&gt;By the way, thanks for all of the help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Nov 2019 19:57:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/cannot-get-pythonwin-working-with-arcgis-10-6-1/m-p/145098#M11318</guid>
      <dc:creator>RickHawkins</dc:creator>
      <dc:date>2019-11-22T19:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: cannot get pythonwin working with ArcGIS 10.6.1</title>
      <link>https://community.esri.com/t5/python-questions/cannot-get-pythonwin-working-with-arcgis-10-6-1/m-p/145099#M11319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rick....&lt;/P&gt;&lt;P&gt;Going totally image now... there is a common 'path' for spyder and for numpy&lt;/P&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;numpy will be in&amp;nbsp; …\Lib\site-packages\numpy&lt;/P&gt;&lt;P&gt;pythonwin is in as shown&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji image-1 jive-image" height="432" src="https://community.esri.com/legacyfs/online/474489_pythonwin_in_pro2.png" width="999" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Nov 2019 21:41:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/cannot-get-pythonwin-working-with-arcgis-10-6-1/m-p/145099#M11319</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-11-22T21:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: cannot get pythonwin working with ArcGIS 10.6.1</title>
      <link>https://community.esri.com/t5/python-questions/cannot-get-pythonwin-working-with-arcgis-10-6-1/m-p/145100#M11320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm wondering if you installed a second version of Python when you installed pythonwin.&amp;nbsp; Its been some time, but I seem to recall a prompt from pythonwin at install time asking about using existing Python or a new install.&amp;nbsp; From your traceback image above, I see the path 'C:\Python27\Lib\site-packages\pythonwin.....' which I don't think should be.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your pythonwin Interactive Window, try the following and share the printout:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; sys
&lt;SPAN class="operator token"&gt;&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; sys&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;path
&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'C:\\'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'C:\\Windows\\system32\\python27.zip'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'C:\\Python27\\ArcGIS10.6\\DLLs'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'C:\\Python27\\ArcGIS10.6\\lib'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'C:\\Python27\\ArcGIS10.6\\lib\\plat-win'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'C:\\Python27\\ArcGIS10.6\\lib\\lib-tk'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'C:\\Python27\\ArcGIS10.6\\Lib\\site-packages\\Pythonwin'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'C:\\Python27\\ArcGIS10.6'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'C:\\Python27\\ArcGIS10.6\\lib\\site-packages'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'C:\\Program Files (x86)\\ArcGIS\\Desktop10.6\\bin'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'C:\\Program Files (x86)\\ArcGIS\\Desktop10.6\\ArcPy'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'C:\\Program Files (x86)\\ArcGIS\\Desktop10.6\\ArcToolBox\\Scripts'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'C:\\Python27\\ArcGIS10.6\\lib\\site-packages\\win32'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'C:\\Python27\\ArcGIS10.6\\lib\\site-packages\\win32\\lib'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;
&lt;SPAN class="operator token"&gt;&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; sys&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;executable
&lt;SPAN class="string token"&gt;'C:\\Python27\\ArcGIS10.6\\Lib\\site-packages\\Pythonwin\\Pythonwin.exe'&lt;/SPAN&gt;
&lt;SPAN class="operator token"&gt;&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; os
&lt;SPAN class="operator token"&gt;&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; os&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;listdir&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;r&lt;SPAN class="string token"&gt;'C:\Python27'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'ArcGIS10.6'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;
&lt;SPAN class="operator token"&gt;&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; os&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;listdir&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;r&lt;SPAN class="string token"&gt;'C:\Python27\ArcGIS10.6'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'DLLs'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'Doc'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'include'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'Lib'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'libs'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'LICENSE.txt'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'NEWS.txt'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'python.exe'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'pythonw.exe'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'pywin32-wininst.log'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'README.txt'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'Removepywin32.exe'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'Scripts'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'tcl'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'Tools'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'w9xpopen.exe'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;

&lt;SPAN class="comment token"&gt;#  I've included my output above as a sample of what you might see.&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;#  The specific python commands to enter, in order, are:&lt;/SPAN&gt;

&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; sys
sys&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;path
sys&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;executable
&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; os
os&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;listdir&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;r&lt;SPAN class="string token"&gt;'C:\Python27'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
os&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;listdir&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;r&lt;SPAN class="string token"&gt;'C:\Python27\ArcGIS10.6'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 07:56:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/cannot-get-pythonwin-working-with-arcgis-10-6-1/m-p/145100#M11320</guid>
      <dc:creator>RandyBurton</dc:creator>
      <dc:date>2021-12-11T07:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: cannot get pythonwin working with ArcGIS 10.6.1</title>
      <link>https://community.esri.com/t5/python-questions/cannot-get-pythonwin-working-with-arcgis-10-6-1/m-p/145101#M11321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i uninstalled python, reinstalled arcgis desktop, reinstalled python and pythwin and this is what get:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/475029_screenshot.jpeg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sorry. not sure how to make the text bigger&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Dec 2019 14:56:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/cannot-get-pythonwin-working-with-arcgis-10-6-1/m-p/145101#M11321</guid>
      <dc:creator>RickHawkins</dc:creator>
      <dc:date>2019-12-02T14:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: cannot get pythonwin working with ArcGIS 10.6.1</title>
      <link>https://community.esri.com/t5/python-questions/cannot-get-pythonwin-working-with-arcgis-10-6-1/m-p/145102#M11322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After making the edits and run this simple program:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/475030_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;I get the following errors:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/475049_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;not sure why the program is not running&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Dec 2019 15:14:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/cannot-get-pythonwin-working-with-arcgis-10-6-1/m-p/145102#M11322</guid>
      <dc:creator>RickHawkins</dc:creator>
      <dc:date>2019-12-02T15:14:01Z</dc:date>
    </item>
    <item>
      <title>Re: cannot get pythonwin working with ArcGIS 10.6.1</title>
      <link>https://community.esri.com/t5/python-questions/cannot-get-pythonwin-working-with-arcgis-10-6-1/m-p/145103#M11323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when i run the script inside of ArcGIS everything works fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Dec 2019 15:28:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/cannot-get-pythonwin-working-with-arcgis-10-6-1/m-p/145103#M11323</guid>
      <dc:creator>RickHawkins</dc:creator>
      <dc:date>2019-12-02T15:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: cannot get pythonwin working with ArcGIS 10.6.1</title>
      <link>https://community.esri.com/t5/python-questions/cannot-get-pythonwin-working-with-arcgis-10-6-1/m-p/145104#M11324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Outside of ArcMap, I don't think "Current" will work as a map document.&amp;nbsp; Try using a full path/filename to your map document in line 5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Except for this error, it appears that you have Pythonwin working, correct?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Dec 2019 17:33:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/cannot-get-pythonwin-working-with-arcgis-10-6-1/m-p/145104#M11324</guid>
      <dc:creator>RandyBurton</dc:creator>
      <dc:date>2019-12-02T17:33:48Z</dc:date>
    </item>
  </channel>
</rss>

