michaeltischler

run python script in python window

Discussion created by michaeltischler on Aug 11, 2010
Latest reply on Sep 4, 2019 by jbryant_wya
Hi,
This seems absurdly simple to ask, but I cannot seem to find the answer, and I've scoured the help files.

I have a script (let's say it's called myscript.py) and requires 2 arguments. 

How the heck do I execute that script from within the python window in ArcGIS 10?

execfile() seems close, but I can't figure out how to pass the arguments. 

Thanks,
mike

Outcomes