I am a new Python user and would like help on the following task. I need a program that will be able to receive input from the system COM port and display it in a window that mimics an LCD graphic display that would be found on a calculator or some other handheld device.
The data comes in at 19.2Kbaud, and is in an 8N1 frame format. The serial characters are bitmap data to be displayed in a small window, 128 pixels wide by 8 pixels high. Each serial character is 8 bits of pixel data to be displayed vertically in the window. For example, the received data (0x83, 0xe5, 0x07, 0xfc) would be displayed as follows:

(1= display pixel on, 0=display pixel off)
LSBs
====
1110
1010
0111
0001
0001
0101
0101
1101
====
MSBs

I have looked for sample code at this site and found a lot of image and file format samples but nothing quite like this application. Any help on this application would be appreciated.