Select to view content in your preferred language

Python code Module

718
4
05-06-2014 06:28 AM
ChrisSlinko
Emerging Contributor
I'm currently running ArcMap basis 10.2.0. in the pervious version 10.1 I was able to download an external module that could run python code.  In that module you were able to show line numbers which greatly help when you are learning coding.  It was locate on C:\Python27\ArcGIS10.1\lib\site-packages.  It was an .exe and the desk top module was a snake. I can't seem to find it when I go to C:\Python27\ArcGIS10.1\lib\site-packages.  does anyone know if it is still available if yes how to download it.  Thanks, chris
Tags (2)
0 Kudos
4 Replies
JoshuaChisholm
Frequent Contributor
Hello Chris,

There are plenty of python editors. IDLE can not display line numbers (yet). Some work arounds here.

You're probably looking for "Pythonwin". There is some help for installed Pythonwin to ArcGIS here. You can also download it online here, but you'd have to be very careful not to mess up your arcpy install.
0 Kudos
JamesCrandall
MVP Frequent Contributor
PythonWin gives you row and column numbers of the cursor postion down at the lower right corner of the app window.
0 Kudos
Zeke
by
Honored Contributor
Other options include PyScripter (my favorite), Notepad ++, ConText, etc.
0 Kudos
markdenil
Frequent Contributor
besodes reporting the line number in the status bar,
IDLE also has a GoTo Line command: press Atl+G
0 Kudos