This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# Python screenshot tool (fullscreen/area selection) | |
# Special thanks to @tomk11, @frakman1, @aspotton and @lucguislain for the improvements | |
import sys | |
from PyQt5 import QtCore, QtGui | |
from PyQt5.QtGui import QPixmap, QScreen | |
from PyQt5.QtWidgets import QApplication, QWidget, QLabel, QSizePolicy | |
from PyQt5.QtWidgets import QGroupBox, QSpinBox, QCheckBox, QGridLayout | |
from PyQt5.QtWidgets import QPushButton, QHBoxLayout, QVBoxLayout |