Roy H. Han
|| at May 9, 2008 at 11:21 am
For ArcGIS, I use plain old VIM, IPython and IDLE.
If you really want PythonWin, then you can download Mark Hammond's Python
for Windows extensions: http://sourceforge.net/projects/pywin32/
Note also that with the pywin32 extensions, you can also use Python 2.5 to
access ArcGIS using
from win32com.client import Dispatch
arcgis = Dispatch('esriGeoprocessing.GpDispatch')
If you just need to access shapefiles, there is shapelib:http://shapelib.maptools.org/
To make shapelib bindings for Python 2.5
1. Download *shapelib_1_2_10.zip *from http://dl.maptools.org/dl/shapelib/
2. Download *pyshapelib-0.3.zip* from
3. Extract *pyshapelib-0.3.zip*
4. Extract *shapelib_1_2_10.zip* to the folder containing pyshapelib.
Rename the extracted folder as *shapelib*
5. From the pyshapelib directory, run python setup.py build. The script
looks in its parent folder for the shapelib folder.
5. From the pyshapelib directory, python setup.py install
Hope that helps,
On Fri, May 9, 2008 at 6:46 AM, Niklas Norrthon wrote:
On 9 Maj, 12:30, Clive_S wrote:
I am trying to use Python with ArcGIS.
I have installed Python 2.4. I have an icon for IDLE and command line.
I do not see Python PythonWin.
How do you install or launch pythonwin??
There is a distribution of PythonWin bundled with the
ArcGIS Desktop installation media, but it is not
installed by the ArcGIS installer.
You have three options:
1. Install it manually from the ArcGIS installation
2. Find it on the web (google for it), download and
3. (My recommendation) Don't bother. IDLE is pretty
good. Emacs even better (unless you hate emacs).
-------------- next part --------------
An HTML attachment was scrubbed...