'Python: How do I create something that will show the coordinates of my screen when I click?

I’ve been trying to create a cool auto clicker as a little project. How exactly can I create something that will tell me what my mouse coordinates are when I click?



Sources

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

Source: Stack Overflow

Solution Source