Hi Clive,<br><br>For ArcGIS, I use plain old VIM, IPython and IDLE.<br><br>If you really want PythonWin, then you can download Mark Hammond's Python for Windows extensions: <a href="http://sourceforge.net/projects/pywin32/">http://sourceforge.net/projects/pywin32/</a><br>
<br>Note also that with the pywin32 extensions, you can also use Python 2.5 to access ArcGIS using <br><br><span style="font-family: courier new,monospace;">from win32com.client import Dispatch</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">arcgis = Dispatch('esriGeoprocessing.GpDispatch')<br><br><font face="arial,sans-serif">If you just need to access shapefiles, there is shapelib: <a href="http://shapelib.maptools.org/">http://shapelib.maptools.org/</a><br>
To make shapelib bindings for Python 2.5<br>1. Download </font></span><b>shapelib_1_2_10.zip </b><span style="font-family: courier new,monospace;"><font face="arial,sans-serif">from <a href="http://dl.maptools.org/dl/shapelib/">http://dl.maptools.org/dl/shapelib/</a><br>
2. Download <b>pyshapelib-0.3.zip</b> from <a href="ftp://intevation.de/users/bh/pyshapelib">ftp://intevation.de/users/bh/pyshapelib</a><br>3. Extract </font></span><span style="font-family: courier new,monospace;"><font face="arial,sans-serif"><b>pyshapelib-0.3.zip</b> <br>
4. Extract </font></span><b>shapelib_1_2_10.zip</b> to the folder containing pyshapelib. Rename the extracted folder as <b>shapelib</b><br>5. From the pyshapelib directory, run python setup.py build. The script looks in its parent folder for the shapelib folder.<br>
5. From the pyshapelib directory, python setup.py install<br><span style="font-family: courier new,monospace;"></span><br>Hope that helps,<br>Roy<br style="font-family: courier new,monospace;"><b></b><span style="font-family: courier new,monospace;"></span><br>
<div class="gmail_quote">On Fri, May 9, 2008 at 6:46 AM, Niklas Norrthon <<a href="mailto:niklas.norrthon@hotmail.com">niklas.norrthon@hotmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On 9 Maj, 12:30, Clive_S <<a href="mailto:clives...@yahoo.co.uk">clives...@yahoo.co.uk</a>> wrote:<br>
> Hi<br>
><br>
> I am trying to use Python with ArcGIS.<br>
><br>
> I have installed Python 2.4. I have an icon for IDLE and command line.<br>
> I do not see Python PythonWin.<br>
><br>
> How do you install or launch pythonwin??<br>
<br>
</div>There is a distribution of PythonWin bundled with the<br>
ArcGIS Desktop installation media, but it is not<br>
installed by the ArcGIS installer.<br>
<br>
You have three options:<br>
1. Install it manually from the ArcGIS installation<br>
media.<br>
2. Find it on the web (google for it), download and<br>
install.<br>
3. (My recommendation) Don't bother. IDLE is pretty<br>
good. Emacs even better (unless you hate emacs).<br>
<font color="#888888"><br>
--<br>
Niklas Norrthon<br>
ESRI S-GROUP<br>
</font><div><div></div><div class="Wj3C7c">--<br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
</div></div></blockquote></div><br>