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
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.
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
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.