Skip to content

Instantly share code, notes, and snippets.

View z404's full-sized avatar
💭
🥓

Anish Raghavendra z404

💭
🥓
  • Vellore Institute of Technology
View GitHub Profile
@z404
z404 / sorter.py
Last active September 1, 2022 14:08
VTOP Coursepage File unzip and sorter
import zipfile
import tkinter as tk
from tkinter import filedialog
from pathlib import Path
import os
from datetime import timedelta, datetime
def unzip_file(path, folder_name):
with zipfile.ZipFile(path, 'r') as zip_ref:
zip_ref.extractall("{}".format(folder_name))
@z404
z404 / Clickable Enter Key.py
Last active October 31, 2021 15:24
Clickable Enter key using tkinter and pynput
from pynput.keyboard import Key, Controller
from tkinter import *
import time
keyboard = Controller()
top = Tk()
# top.geometry("200x100")