Pythonwin

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Clive_S

    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
  • Niklas Norrthon

    #2
    Re: Pythonwin

    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

    Comment

    • ivan

      #3
      Re: Pythonwin

      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

      Comment

      • Mike Driscoll

        #4
        Re: Pythonwin

        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

        Comment

        • Clive_S

          #5
          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

          Comment

          • Ahmed, Shakir

            #6
            RE: Pythonwin

            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: python-list-bounces+shahmed =sfwmd.gov@pyth on.org [mailto:python-list-bounces+shahmed =sfwmd.gov@pyth on.org] On Behalf Of Clive_S
            Sent: Friday, May 09, 2008 9:41 AM
            To: python-list@python.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
            --


            Comment

            • Gabriel Genellina

              #7
              Re: Pythonwin

              En Fri, 09 May 2008 10:40:38 -0300, Clive_S <cliveswan@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

              Comment

              • Mike Driscoll

                #8
                Re: Pythonwin

                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

                Comment

                Working...