Using python Serial module on windows

H

Holger

Hi

I'm using python Serial from:
http://switch.dl.sourceforge.net/sourceforge/pyserial/pyserial-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
 
D

Diez B. Roggisch

Holger said:
Hi

I'm using python Serial from:
http://switch.dl.sourceforge.net/sourceforge/pyserial/pyserial-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
 
H

Holger

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

Thank you.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,996
Messages
2,570,238
Members
46,826
Latest member
robinsontor

Latest Threads

Top