<?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: What is the difference between running a Python script in IDLE vs in ArcMap? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/what-is-the-difference-between-running-a-python/m-p/549903#M42971</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh really? So how do you enter the arguments in that case?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Jun 2015 14:00:28 GMT</pubDate>
    <dc:creator>SepheFox</dc:creator>
    <dc:date>2015-06-12T14:00:28Z</dc:date>
    <item>
      <title>What is the difference between running a Python script in IDLE vs in ArcMap?</title>
      <link>https://community.esri.com/t5/python-questions/what-is-the-difference-between-running-a-python/m-p/549898#M42966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The default value of arcpy.env.workspace is different, are there other differences?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason to ask is that I have code to geocode several files using a loop to call the function arcpy.GeocodeAddresses_geocoding. The loop works fine when I execute the script inside the Python window in ArcMap, but when I run the script in IDLE it ends in error 999998 when it starts the second iteration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope that understanding the differences between these two ways of executing the script will help me find a way to make it work in IDLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Carla&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 20:01:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/what-is-the-difference-between-running-a-python/m-p/549898#M42966</guid>
      <dc:creator>CarlaInclan</dc:creator>
      <dc:date>2015-06-04T20:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference between running a Python script in IDLE vs in ArcMap?</title>
      <link>https://community.esri.com/t5/python-questions/what-is-the-difference-between-running-a-python/m-p/549899#M42967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe one is that Arcmap python window is 32 bit and you could run IDLE in 64 bit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You might want to post your code so we can see what your attempting to do.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 20:29:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/what-is-the-difference-between-running-a-python/m-p/549899#M42967</guid>
      <dc:creator>TonyAlmeida</dc:creator>
      <dc:date>2015-06-04T20:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference between running a Python script in IDLE vs in ArcMap?</title>
      <link>https://community.esri.com/t5/python-questions/what-is-the-difference-between-running-a-python/m-p/549900#M42968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I run larger scripts in the command line, they work faster and I believe Tony is correct&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2015 13:01:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/what-is-the-difference-between-running-a-python/m-p/549900#M42968</guid>
      <dc:creator>MatthewRusso</dc:creator>
      <dc:date>2015-06-12T13:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference between running a Python script in IDLE vs in ArcMap?</title>
      <link>https://community.esri.com/t5/python-questions/what-is-the-difference-between-running-a-python/m-p/549901#M42969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The other, more obvious difference, is that you have to hardcode your paths, files, and mxds.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2015 13:37:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/what-is-the-difference-between-running-a-python/m-p/549901#M42969</guid>
      <dc:creator>SepheFox</dc:creator>
      <dc:date>2015-06-12T13:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference between running a Python script in IDLE vs in ArcMap?</title>
      <link>https://community.esri.com/t5/python-questions/what-is-the-difference-between-running-a-python/m-p/549902#M42970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seph...that isn't correct ... you can use sys.argv to access your script arguments in both PythonWin and PyScripter and I am sure in any other program...in that way you don't have to hardcode them&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2015 13:54:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/what-is-the-difference-between-running-a-python/m-p/549902#M42970</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-06-12T13:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference between running a Python script in IDLE vs in ArcMap?</title>
      <link>https://community.esri.com/t5/python-questions/what-is-the-difference-between-running-a-python/m-p/549903#M42971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh really? So how do you enter the arguments in that case?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2015 14:00:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/what-is-the-difference-between-running-a-python/m-p/549903#M42971</guid>
      <dc:creator>SepheFox</dc:creator>
      <dc:date>2015-06-12T14:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference between running a Python script in IDLE vs in ArcMap?</title>
      <link>https://community.esri.com/t5/python-questions/what-is-the-difference-between-running-a-python/m-p/549904#M42972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ahhhh&amp;nbsp; Just a pythonwin example&amp;nbsp; every IDE is slightly different&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="109179" alt="enter_param.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/109179_enter_param.png" style="height: auto;" width="455" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2015 14:19:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/what-is-the-difference-between-running-a-python/m-p/549904#M42972</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-06-12T14:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference between running a Python script in IDLE vs in ArcMap?</title>
      <link>https://community.esri.com/t5/python-questions/what-is-the-difference-between-running-a-python/m-p/549905#M42973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh neat! &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/laugh.png" /&gt; Thanks for the info. So, for more than one argument, would you just put a list with commas between?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2015 14:24:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/what-is-the-difference-between-running-a-python/m-p/549905#M42973</guid>
      <dc:creator>SepheFox</dc:creator>
      <dc:date>2015-06-12T14:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference between running a Python script in IDLE vs in ArcMap?</title>
      <link>https://community.esri.com/t5/python-questions/what-is-the-difference-between-running-a-python/m-p/549906#M42974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is PyScripter example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="enter_param2.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/109180_enter_param2.png" style="width: 620px; height: 160px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2015 14:24:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/what-is-the-difference-between-running-a-python/m-p/549906#M42974</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-06-12T14:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference between running a Python script in IDLE vs in ArcMap?</title>
      <link>https://community.esri.com/t5/python-questions/what-is-the-difference-between-running-a-python/m-p/549907#M42975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;details with your IDE space delimited for PythonWin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="enter_param3.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/109277_enter_param3.png" style="width: 277px; height: 216px;" width="371" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2015 14:27:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/what-is-the-difference-between-running-a-python/m-p/549907#M42975</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-06-12T14:27:43Z</dc:date>
    </item>
  </channel>
</rss>

