Using python Serial module on windows

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

    Using python Serial module on windows

    Hi

    I'm using python Serial from:


    to implement ymodem and other protocols on the PC com port

    And it works like a charm in cygwin, but when I try to use it directly
    in python under windows using active state python installation, it
    says it's missing the module win32file.
    But the win32file module looks like it is no longer in development and
    support stopped at python 2.2

    Am I going about this issue the wrong way?
    Can anyone suggest a way out of this fix?

    Thank You
    Holger
  • Diez B. Roggisch

    #2
    Re: Using python Serial module on windows

    Holger wrote:
    Hi
    >
    I'm using python Serial from:

    >
    to implement ymodem and other protocols on the PC com port
    >
    And it works like a charm in cygwin, but when I try to use it directly
    in python under windows using active state python installation, it
    says it's missing the module win32file.
    But the win32file module looks like it is no longer in development and
    support stopped at python 2.2
    >
    Am I going about this issue the wrong way?
    Can anyone suggest a way out of this fix?


    """
    Requirements

    Python 2.2 or newer

    pywin32 extensions on Windows

    "Java Communications" (JavaComm) or compatible extension for Java/Jython
    """

    Do you have pywin32? If not, you might consider installing active state
    python, which comes included with them.

    Diez

    Comment

    • Holger

      #3
      Re: Using python Serial module on windows

      Turns out there's a windows package that works bautifully with
      activestate python:
      pyserial-2.4.win32.exe

      Thank you.

      Comment

      Working...