More Examples
=============

All these (and some more) examples are also available in python/examples/
directory in Gammu sources.

Sending a message
-----------------

.. literalinclude:: ../../../python/examples/sendsms.py
   :language: python

Sending a long message
----------------------

.. literalinclude:: ../../../python/examples/sendlongsms.py
   :language: python

Initiating a voice call
-----------------------

.. literalinclude:: ../../../python/examples/dialvoice.py
   :language: python

Reading calendar from phone
---------------------------

.. literalinclude:: ../../../python/examples/getallcalendar.py
   :language: python

