Console not outputting information in PyCharm

Question:

I have a problem through pyautogui I need to know the position of my cursor but when I enter the code and press run in the console nothing happens
enter image description here

I’m just starting to understand python

Asked By: Сергей

||

Answers:

You aren’t running the file. Note how it says "Python Console" in the tab header. That indicates that no file is imported and run by default.

Right-click on the background of the editor, and press "Run file in Python console". You’ll notice that it will open a new tab with a header of the file name, and your code will execute.

Answered By: Carcigenicate
Categories: questions Tags: , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.