This page is a collection of various Python goodies I've created. Everything here is covered by the MIT License. Please let me know if you have any questions or feedback by sending email to email@example.com.
EasyDialogs for Windows 46691.0 - a
lightweight port of the Macintosh EasyDialogs module
X10 FireCracker Module for Python 1.0
Download - extract and place x10.py where your script can find it.
Requires: Any platform with Python 2.3 and pySerial 2.0. It might run on older versions but I haven't tested it. It has been tested on Windows XP, Windows Server 2003, and Mandrake 10 (thanks to Michael Kent).
This is a module for sending X10 commands via a FireCracker Computer Interface (CM17a). It can be called from Python code or used directly from the command line. Take a look at the docstrings for information on the format of the commands.
Here is an example of the command line interface on Windows:
C:\x10>x10.py com1 A1 On, A3 Off, A All Off, A Lamps On
And here it is being used from Python: