Setting up Python to work with the serial port

The serial port (a.k.a. COM-port, or RS232) is slowly disappearing from desktop and laptop computers, but it's still a very important tool for embedded engineers and people controlling equipment in general.If you're closely following the Python tag on StackOverflow, you'll notice that the same question comes up at least once a week. The que