Not related (except that it is about python and ArcGIS): Remember you can set PYTHONINSPECT to enter interactive mode at the end of a script. With a script set as an ArcGIS tool, you can then enter interactive to play around or debug with all the ArcGIS stuff loaded. Is there a better way people do this? Ivan