Skip to content

Instantly share code, notes, and snippets.

Avatar
🐐
git commit -m "suicide"‮

GiorgosXou

🐐
git commit -m "suicide"‮
View GitHub Profile
@GiorgosXou
GiorgosXou / screenshot.py
Created Nov 30, 2022 — forked from aspotton/screenshot.py
Python screenshot tool (fullscreen/area selection)
View screenshot.py
#!/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