Comm Port support in Python ?

W

Will

Does Python have comm port support built in or does someone have a tool for
sending and receiving data in & out of a PC com port?

How about for the Mac ?

Thanks - Will
 
D

Diez B. Roggisch

Does Python have comm port support built in or does someone have a tool
for sending and receiving data in & out of a PC com port?

It has - as extra module called pyserial, you can get it from sf. It
supports *NIX, Windows and via special classes even JAVA/Jython.

If it supports mac I have no idea, but I guess OS X _could_ work, as its
*NIX-flavoured...
 
R

Roger Binns

Does Python have comm port support built in or does someone have a tool
It has - as extra module called pyserial, you can get it from sf. It
supports *NIX, Windows and via special classes even JAVA/Jython.

If it supports mac I have no idea, but I guess OS X _could_ work, as its
*NIX-flavoured...

Yes, pySerial works on Mac. My BitPim project - http://bitpim.sf.net
uses it on Windows, Linux and Mac. And if you end up discovering that
you also need to support USB devices, I have a treat for you:

http://cvs.sourceforge.net/viewcvs.py/bitpim/bitpim/native/usb/

Roger
 

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

Forum statistics

Threads
474,183
Messages
2,570,965
Members
47,512
Latest member
FinleyNick

Latest Threads

Top