Connecting Tech Pros Worldwide Forums | Help | Site Map

Using python Serial module on windows

Holger
Guest
 
Posts: n/a
#1: Oct 6 '08
Hi

I'm using python Serial from:
http://switch.dl.sourceforge.net/sou...ial-2.4.tar.gz

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
Guest
 
Posts: n/a
#2: Oct 6 '08

re: Using python Serial module on windows


Holger wrote:
Quote:
Hi
>
I'm using python Serial from:
http://switch.dl.sourceforge.net/sou...ial-2.4.tar.gz
>
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?
http://pyserial.wiki.sourceforge.net/pySerial

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

Holger
Guest
 
Posts: n/a
#3: Oct 6 '08

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.
Closed Thread