I am using ArcGIS 10.2.
Using QGIS, I have a text editor that allows me to write some lines of code and quickly test them:
Is there something similar using ArcGIS?
I know I can simply write this line in the built-in Python Console (like suggested here):
execfile('path_to_my_python_script')
but is there a direct way for doing it within ArcGIS or, in other words, without writing every time the filepath for calling an external file?



execfilecommand for my purposes. – mgri Sep 24 '17 at 21:24F5to kick it off rather than typingexecfileor similar. However, it won't interact with a layer in an MXD, and so has some limitations over what you seem to have had available in QGIS. I can see how that would be a big step down, I also find the copy-and-paste to be tedious and frustrating when I'm working within the Python window. (Almost all my scripts are now put together in IDLE.) – Erica Sep 24 '17 at 21:44