AnsweredAssumed Answered

What is the difference between running a Python script in IDLE vs in ArcMap?

Question asked by cinclan on Jun 4, 2015
Latest reply on Jun 12, 2015 by Dan_Patterson

The default value of arcpy.env.workspace is different, are there other differences?


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.


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.