'Is it possible to have input from one device populate one field in tkinter, and another device that populates a different field?

I have a keyboard and a USB bar scanner and two separate monitors at different locations all connected to the same computer. I want the keyboard to enter data on one monitor, and the scanner to enter data on the other monitor. Is there a way to take data from, say, COM3 and use it for an Entry box on monitor 1, and take the data from COM4 and use it for an Entry box on monitor 2?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source