ERROR
Running a standalone geoprocessing script from a Python IDE returns the error "IndexError: list index out of range". An example of the message in the Interactive Window can be seen in the screenshot below.![[O-Image]](https://webapps-cdn.esri.com/CDN/support-site/technical-articles-images/000011161/00N39000003LL24-0EM39000000wdFk.png)
The script may contain arguments that must be passed into the script by the user at runtime.
![[O-Image]](https://webapps-cdn.esri.com/CDN/support-site/technical-articles-images/000011161/00N39000003LL2C-0EM39000000wdFc.png)
![[O-Image]](https://webapps-cdn.esri.com/CDN/support-site/technical-articles-images/000011161/00N39000003LL2C-0EM39000000wdFj.png)
Article ID: 000011161
Get help from ArcGIS experts
Start chatting now