Skip to content

Instantly share code, notes, and snippets.

View SansPapyrus683's full-sized avatar
๐Ÿ˜€
oh my god bruh

Kevin Sheng SansPapyrus683

๐Ÿ˜€
oh my god bruh
View GitHub Profile
@SansPapyrus683
SansPapyrus683 / zip_to_mc.py
Created March 29, 2025 23:45
put a zip file right into your mc saves
import sys
import zipfile
from pathlib import Path
import os
import shutil
path = sys.argv[1]
extract_to = Path(path).stem
with zipfile.ZipFile(path, 'r') as zip_ref:
os.makedirs(extract_to)
id problemID
source CF
title Problem Name
author Your Name