Using pygame module , to create Paint in Python
Here is the documentation for the afforementioned https://www.pygame.org/docs/
Blog that did a great job of explaining the basics of module https://www.upgrad.com/blog/pygame-tutorial-for-beginners/
Tim Ruscica at techwithtim does a great job of explaining the given project . You may check it out here : https://www.youtube.com/watch?v=N20eXcfyQ_4