473,574 Members | 2,465 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Pythonwin

Hi

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??

Thanks

Clive
Jun 27 '08 #1
7 6581
On 9 Maj, 12:30, Clive_S <clives...@yaho o.co.ukwrote:
Hi

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
media.
2. Find it on the web (google for it), download and
install.
3. (My recommendation) Don't bother. IDLE is pretty
good. Emacs even better (unless you hate emacs).

--
Niklas Norrthon
ESRI S-GROUP
Jun 27 '08 #2
Not related (except that it is about python and ArcGIS): Remember you
can set PYTHONINSPECT to enter interactive mode at the end of a
script. With a script set as an ArcGIS tool, you can then enter
interactive to play around or debug with all the ArcGIS stuff loaded.

Is there a better way people do this?

Ivan
Jun 27 '08 #3
On May 9, 5:30*am, Clive_S <clives...@yaho o.co.ukwrote:
Hi

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??

Thanks

Clive
I have PythonWin installed in my Start Menu --Programs --Python
2.5. I may have installed the ActiveState version though. Just check
if it's there on your system and if not, you can follow Niklas's
advice.

Mike

Jun 27 '08 #4
Hi all

I downloaded (from Python) and installed python-2.4.4.msi

I have python and pythonw.exe in the Python 24 folder (but not in my
start menu).
When I click on the pythonw.exe it is not launched??

Thanks

Clive
On 9 May, 14:09, Mike Driscoll <kyoso...@gmail .comwrote:
On May 9, 5:30*am, Clive_S <clives...@yaho o.co.ukwrote:
Hi
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??
Thanks
Clive

I have PythonWin installed in my Start Menu --Programs --Python
2.5. I may have installed the ActiveState version though. Just check
if it's there on your system and if not, you can follow Niklas's
advice.

Mike
Jun 27 '08 #5
You need to install the same version on your pc, if you have 2.5 already installed you need to download 2.5 pythonwin from http://sourceforge.net

Hope it will work for you.
Thanks
sk
-----Original Message-----
From: py************* *************** *******@python. org [mailto:py****** *************** **************@ python.org] On Behalf Of Clive_S
Sent: Friday, May 09, 2008 9:41 AM
To: py*********@pyt hon.org
Subject: Re: Pythonwin

Hi all

I downloaded (from Python) and installed python-2.4.4.msi

I have python and pythonw.exe in the Python 24 folder (but not in my
start menu).
When I click on the pythonw.exe it is not launched??

Thanks

Clive
On 9 May, 14:09, Mike Driscoll <kyoso...@gmail .comwrote:
On May 9, 5:30*am, Clive_S <clives...@yaho o.co.ukwrote:
Hi
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??
Thanks
Clive

I have PythonWin installed in my Start Menu --Programs --Python
2.5. I may have installed the ActiveState version though. Just check
if it's there on your system and if not, you can follow Niklas's
advice.

Mike
--
http://mail.python.org/mailman/listinfo/python-list

Jun 27 '08 #6
En Fri, 09 May 2008 10:40:38 -0300, Clive_S <cl*******@yaho o.co.ukescribiˇ :
I downloaded (from Python) and installed python-2.4.4.msi

I have python and pythonw.exe in the Python 24 folder (but not in my
start menu).
When I click on the pythonw.exe it is not launched??
pythonw.exe is NOT PythonWin - it's a consoleless version of the standard Python interpreter.
PythonWin is part of the pywin32 package that you can download from https://sourceforge.net/projects/pywin32/ (make sure you get the right version)

--
Gabriel Genellina

Jun 27 '08 #7
On May 9, 9:02*am, "Gabriel Genellina" <gagsl-...@yahoo.com.a rwrote:
En Fri, 09 May 2008 10:40:38 -0300, Clive_S <clives...@yaho o.co.ukescribiˇ :
I downloaded (from Python) and installed python-2.4.4.msi
I have python and pythonw.exe in the Python 24 folder (but not in my
start menu).
When I click on the pythonw.exe it is not launched??

pythonw.exe is NOT PythonWin - it's a consoleless version of the standard Python interpreter.
PythonWin is part of the pywin32 package that you can download fromhttps://sourceforge.net/projects/pywin32/(make sure you get the right version)

--
Gabriel Genellina
Ah. That's where I got it. Sorry for promulgating my own confusion!

Mike
Jun 27 '08 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1232
by: stephan | last post by:
Hi, I have python 2.2.3 + pythonwin 156 on win2k. The problem is that german chars like ń÷Ř─Í▄▀ are not handled correctly. Just create a test.py file with the content ń÷Ř─Í▄▀ and edit it with pythonwin. In the editor you will see only ń÷Ř─ . I had the problem in the past, wrote it to mark and he fixed it.
7
3009
by: Martin Bless | last post by:
IMHO PythonWin is great help in developing. How can I do something like: if detect("running on PythonWin"): pass # fake arguments ... else: "proceed normal"
3
2935
by: Alberto Mantovani | last post by:
hi, how is it possible to run a python script in the pythonwin environment from dos command line? If I use the command "/run scriptname.py" and the pythonwin is already opened I get error, so someone can help me? thanks Alberto
14
2877
by: Jive | last post by:
I've un-installed Python 2.4, re-installed Python 2.3 and PythonWin for 2.3, but it's still broke. When I start PythonWin, sometimes it looks like it is going to be okay. But as soon as I open a .py file, the interactive window grabs the focus and will not let go. I am stumped. Is there something PythonWin uses that I could try...
4
2602
by: Chris P. | last post by:
I've been having a problem with PythonWin that seemed to start completely spontaneously and I don't even know where to START to find the answer. The only thing I can think of that marks the point between "PythonWin works fine" and "PythonWin hardly every works fine" was that I changed the size of my Virtual Paging file, noticing that it was...
2
7307
by: siggy2 | last post by:
Hi All, (sorry for my bad english) I wrote a __tiny__ and __stupid__ recursive script directly into pythonwin interactive window with a time.sleep(1) and a print before each recursion... I should have taken a closer look at the ending condition (never satisfied!), anyway I was quite confident that a control-C would have stopped the...
2
2458
by: accolades | last post by:
Does anyone else have a problem with Pythonwin crashing after running a python script with graphics libraries? Whenever I use Pythonwin to run a PyGame or PyOgre script, Pythonwin crashes when the script exits. I know it's probably because the Pythonwin interpreter can't read from the console once the graphics mode has been changed, but has...
17
1943
by: Dave Benjamin | last post by:
Hey folks, Why is PythonWin (win32all) still a separate download from a third party? Is it legal, technical, or what? I think it's about time it be part of the standard distribution. There are many useful things that you ought to be able to do without downloading third-party libraries. Terminating a process, for example. Communicating...
3
2972
by: archaegeo | last post by:
I am getting started in Python, and I have looked on both the stackless page and python.org and cannot find the answer to what I think is a simple problem. If I start the python command line or idle, i can If I start pythonwin I get the following error ....No Module named Stackless Any help?
4
3605
by: sterling | last post by:
I'm curious as to why the difference between IDLE and pythonWin when using win32com. opening an excel file, i've attempted to grab the chart information out of the file. commands like co = ChartObjects(1) works in pythonWin but doesn't work in IDLE. however, on both co = chartobjects(1) works just fine.
0
7710
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8040
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7800
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6437
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectŚplanning, coding, testing, and deploymentŚwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5610
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph DuprÚ who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5296
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3738
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1332
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1051
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.