By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
439,985 Members | 1,575 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 439,985 IT Pros & Developers. It's quick & easy.

Comm Port support in Python ?

P: n/a
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
Jul 18 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
> 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...

--
Regards,

Diez B. Roggisch
Jul 18 '05 #2

P: n/a
> > 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...


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.p...im/native/usb/

Roger
Jul 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.