In python, it is as simple as importing pyserial and using its open () method (if you are using a fairly standard system, otherwise you need to configure a number of parameters to suit your environment, of course).
EDIT:
As Enrico noted, pyserial is not the default package in many distributions, so you must install it yourself. I suggest installing and using easy-install , setuptools to process your python add-on packages.
drAlberT
source share