Select to view content in your preferred language

[SOLVED]How To Run .py Script

998
3
05-08-2012 09:46 AM
JoelMadero
Emerging Contributor
Hi All,

I've got a py script that I made but can't figure out how to actually run it in arc. When I try to right click and add it to the toolbox the option is grayed out. Thanks in advance
Tags (2)
0 Kudos
3 Replies
JakeSkinner
Esri Esteemed Contributor
If you are trying to add the script to a toolbox, make sure you are not trying to add it to a System Toolbox (i.e. Data Management Tools).  Create your own toolbox by right-clicking on a Folder or Geodatabase > New > Toolbox.  You can then add the python script to this toolbox.
0 Kudos
JoelMadero
Emerging Contributor
Thanks to both of you. After closing GIS and trying it again I was able to create a toolbox and add it (before it wasn't letting me add one). Script is running 🙂
0 Kudos