access serial port in python

Cameron Laird claird at lairds.us
Mon May 29 11:47:53 EDT 2006


In article <1148678743.109181.259710 at i40g2000cwc.googlegroups.com>,
 <vipulagarwal.in at gmail.com> wrote:
>hi
>i hav written a code in python to send an SMS from a nokia 3310
>connected to my PC...
>i wanted to receive a msg on my PC. In order to do so, the PC must know
>when it has to read data frm the serial port ...thus an interrupt must
>be generated when the serial port receives data frm the phone .....HOW
>CAN I DO THIS IN PYTHON ??
>can anyone help me with this INTERRUPT HANDLING thing in PYTHON ???
>thanks
>

Others have answered your direct question about serial handling.
Let me urge you to consider investigation of the gnokii and gammu
projects, which handle MANY other aspects of SMS handling that I
doubt you want to burden you.  There turns out to be depressingly
more to SMS than you might imagine (although it's just possible
that you already have almost everything you need for the 3310).

When researching these two projects, note that gammu is already
aware of Python, but rather unstably so, and that gnokii's Windows
story has brightened immensely in the last month.



More information about the Python-list mailing list