Sean writes “Here’s a follow-up to your recent perlParallel post. It’s a python module for controlling the parallel port. This module encapsulates the access for the parallel port. It provides backends for Python running on Windows and Linux. They also have a serial port controller here. Link.
We'll assume you're ok with this, but you can opt-out if you wish.