billbass

Python script running slower in PyScripter than with IDLE

Discussion created by billbass on Mar 27, 2013
Latest reply on Feb 19, 2014 by combuilder
Up until recently we used the IDLE interface to write and then run Python scripts for ArcGIS. I had PyScripter (PyScripter v2.5.3 32-bit version) installed on my workstation which is a Windows7 64-bit machine. I am running ArcGIS 10.0 SP3 and the Python version is 32-bit; below is the first line when opening the IDLE program that came with the ArcGIS installation.
Python 2.6.5 (r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32 bit (Intel)] on win32

Post installation I noticed several versions of PyScripter IDE to choose from in the Start menu: PyScripter for Python 2.4 thru 3.3, and also one for 'Latest Version'. I assumed that the 2.6 version was the best one to use as from the above message in IDLE, it seems our Python version is 2.6.5. I have noticed that when running Python scripts from inside PyScripter they run much slower (5 times slower) than when running the same program from either a DOS command prompt or the IDLE program.

Any thought as to why this may be occurring?

Thanks.

Outcomes