I've been writing Python in my text editor so I have a Python script, script.py. I'm still developing it so don't want to put it in my toolbox yet, and at the moment this means copying and pasting it from my text editor to the Python window in ArcGIS Desktop.
Is there a command that lets me call it from the ArcGIS Python window?
Something along the lines of:
run script.py
It seems logical that it should exist, but perhaps not.