graemederm

IDLE, *.pyt files, colour highlighting and 64bit

Discussion created by graemederm on Oct 11, 2011
Latest reply on Jun 28, 2013 by eulessdave
I just created my first Python toolbox and when I right-clicked to Edit it the editor defaulted to Notepad.  I much prefer IDLE and so went to Geoprocessing Options to set the Editor as C:\Python27\ArcGIS10.1\Lib\idlelib\idle.pyw.  This enabled Edit to open IDLE but with none of the nice colour highlighting on the text which I assume is because of the *.pyt rather than *.py extension. 

Is there an easy way to have IDLE do colour highlighting on a *.pyt file?

Also, when setting the Editor I could have chosen C:\Python27\ArcGISx6410.1\lib\idlelib\idle.pyw instead of C:\Python27\ArcGIS10.1\Lib\idlelib\idle.pyw - does it matter which I choose? 

I'm assuming that Desktop put C:\Python27\ArcGIS10.1\Lib\idlelib\idle.pyw there and uses it while Server installed and uses C:\Python27\ArcGISx6410.1\lib\idlelib\idle.pyw .

Outcomes