Skip to content

Instantly share code, notes, and snippets.

git commit -m "suicide"‮


git commit -m "suicide"‮
View GitHub Profile
GiorgosXou /
Created Nov 30, 2022 — forked from aspotton/
Python screenshot tool (fullscreen/area selection)
#!/usr/bin/env python
# Python screenshot tool (fullscreen/area selection)
import sys
import os
from io import BytesIO
from PyQt5 import QtCore, QtGui
from PyQt5.QtGui import QPixmap, QScreen
from PyQt5.QtWidgets import QApplication, QWidget, QLabel, QSizePolicy, QGroupBox, QSpinBox, QCheckBox, QGridLayout, QPushButton, QHBoxLayout, QVBoxLayout, QFileDialog
from subprocess import getoutput