How do i take a screenshot using Pydev python for EclipseSol
How do i take a screenshot using Pydev (python for Eclipse)
Solution
Once you save the above code into a file named screen_grab.py (or anything else you want) and then run from the command line, being in the directory where you placed that file, the command python screen_grab.py an image named screen_capture.jpg with your screen capture will be created.
