Skip to content

Instantly share code, notes, and snippets.

View zno-man's full-sized avatar

EBIN JOHNY zno-man

View GitHub Profile
@zno-man
zno-man / ps test code
Last active October 23, 2020 17:25
ps test code
import copy
import io
import os
class qn:
"this is the class which is can be used to represent the question object"
def __init__(self,label="",values={}):
self.label= label
self.values=values
@zno-man
zno-man / quick_image_saver_from_clipboard
Created October 14, 2020 20:34
you can use this to save an image that has been copied to the clipboard (either using print screen or using windows key+shift+s) to a jpeg file just by double clicking,(i have tested it only on windows))
from PIL import ImageGrab
from win32 import win32clipboard
import time
def makeimg():
name=time.time()