Vinay,
PythonWin is not required.
PythonWin provides another interactive development environment (IDE) that is much better than the IDLE that comes with every python distribution. IDLE is fine for getting started but if you are getting more serious with Python scripting you may want to get an IDE. Personally I use (and love) WingIDE ($) but many people swear by PythonWin, and PyScripter which is open-source.
Besides the IDE, PythonWin includes modules that let you access OLE/COM objects from Python -- for example if you wanted to control Microsoft Office programs from Python, PythonWin is very useful! See the docs on PythonWin online for more details.
I see Python already installed in ArcMap 10.0 under Geoprocessing...do we need to install PythonWin also ? If so, what is the use ?
Well spotted Andrew, and a fair point for an enterprise.
I just wanted to say it works for me on ArcGIS 10.1 with Python 2.7.
Filip.
I had the same problem. I downloaded Pythonwin from here. I kept the downloaded .exe in the folder "C:\Python27\ArcGIS10.2\Lib\site-packages". And installed Pythonwin. Worked for me.
This (pyscripter) sounds pretty cool, but notice that support for Python 2.7), the version of python used in ArcGIS for Desktop 10.1+, isn't specified (FAQ - pyscripter - An open-source Python Integrated Development Environment (IDE) - Google Project Hosting).
I have no doubt that it will work "good enough", but it is just one more hurdle in a enterprise when there are already enough of those "trust me"s out there that I have already committed myself to w.r.t. the rest of the software/applications/data/services and their life cycles.
I would have to suggest pyscripter.
Folks,
Since this ancient thread was revived, for anyone interested the PyWin32 extension to use with ArcGIS 10.1 and 10.2 is Mark Hammond's Python for Windows 32-bit available on SourceForge at build 219 for Python 2.7 from the linked URL.
Allow the download to complete and then run the installer. But, you may have to make PATH and *.pth adjustments for it to function with ArcPy.
Stuart
Have you considered pyscripter - An open-source Python Integrated Development Environment (IDE) ?
If yes, are you aware of any advantages of Python Win over PyScripter?
I found PyScripter better in every regard and everyone I recommend PyScripter to then always prefer it to Python Win.
F.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.