I would like to make a program that screens the screen (screen shot) in Python.
I found the following code:
import pyscreenshot as ImageGrab
if __name__ == "__main__":
# fullscreen
im=ImageGrab.grab()
im.show()
The code does nothing (apparently crashes)!
What does it mean: if __name__ == "__main__":
?
Using Linux BackBox