I am working on code in Python, which, roughly speaking, is playing an online game open in a browser window.

I take screenshots of certain parts of the screen and make mouse movements using the autopy module.

I run the code in IDE Py Charm and open the browser window to full screen. This is not very convenient, because you want to watch the data that the program displays.

In this regard, the questions:

  1. Combine the displays and running the code on one computer, load into it the coordinates of the second screen for autopy to work. As far as I know it is quite difficult to work with the coordinates of the second "virtual" display.

  2. Is it possible to run the code simultaneously on two computers? Or remote control IDE from the second computer. Or at least data output from the code running on a computer with a browser on another computer?

The last option is more or less understandable, you can also make a data output, for example, messages in telegrams, but I would like to be able to edit the code when it is working simultaneously in a browser window.

  1. Could it really be to do it all on one computer, but to make the browser window transparent, visible, for the program, but not visible to me?
  • If you understand correctly, you need a remote interpreter. For example, this is Remote Start in PyCharm Community Edition / Habr . Python and browser on the remote machine, IDE on the local. - Lecron
  • And the option "connect a second monitor" is not considered? - Fat-Zer
  • With a second monitor of difficulty when working with its coordinates in autopy. Initially, this module does not see the second monitor. - Kirill Vishnyakov
  • Why do you need to run via IDE on a second computer? - insolor

0