Comm Port support in Python ?

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

    Comm Port support in Python ?

    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


  • Diez B. Roggisch

    #2
    Re: Comm Port support in Python ?

    > Does Python have comm port support built in or does someone have a tool[color=blue]
    > for sending and receiving data in & out of a PC com port?[/color]

    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

    Comment

    • Roger Binns

      #3
      Re: Comm Port support in Python ?

      > > Does Python have comm port support built in or does someone have a tool[color=blue][color=green]
      > > for sending and receiving data in & out of a PC com port?[/color]
      >
      > 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...[/color]

      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:

      Download BitPim for free. BitPim allows synchronization of Phone Book, Calendar, WallPapers and RingTones and manipulating the embedded filesystem in CDMA cell phones.


      Roger


      Comment

      Working...