I have a Python 3.6 script that I want to turn into a tool for that I can use in ArcMap (10.5). Will that even work or will I strictly have to do it in ArcGIS Pro?

I couldn't seem to find any documentation on this.

  • 2
    Maybe? You'll need to provide more details about whats inside the script. The vast majority of core Python modules works exactly the same in 2.x and 3.x.
    – KHibma
    Sep 21, 2018 at 14:58
  • What happens when you run a test by writing a simple tool using Python script in Python 3 and then add it to an ArcMap toolbox?
    – PolyGeo
    Sep 21, 2018 at 19:51

1 Answer 1


All you have to do is make sure the Python code is compatible with both versions 2.7.x and 3.x. The six module has many utilities that help with writing forward and backward compatible code while maintaining best practices (use of iterators, etc).

One thing I am not sure about is whether or not you can use the same .tbx file between ArcMap and Pro...I'm assuming you can as long as the underlying Python Script tool code is compatible. Of course, a Python Toolbox would probably be the best solution to work with both.

  • OK. That's exactly what I was going to do (make a toolbox). A toolbox is a toolbox whether its opened in ArcMap or ArcGIS Pro, I guess.
    – gwydion93
    Sep 21, 2018 at 17:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.