Labels

2009/06/27

PyHumod 0.01 beta is out!

Installation

$ wget http://pyhumod.googlecode.com/files/pyhumod-0.01-beta.tar.gz
$ tar xzf pyhumod
-*.tar.gz
$ cd humod
-*
$ sudo python setup
.py install

Basic usage

For most users the following should work:

$ python
Python 2.5.4 (r254:67916, May 21 2009, 22:07:14)
[GCC 4.1.2 (Gentoo 4.1.2 p1.0.2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import humod
>>> m=humod.Modem()
>>> m.show_model()
'E270'
>>> m.enter_text_mode()
>>> m.send_text('+353?????????', 'hello world')
52
>>> m.connect()
>>> m.disconnect()

0 comments: