Skip to content

Instantly share code, notes, and snippets.

@apaar97
apaar97 / code_checker.py
Last active December 26, 2022 11:33 — forked from isopropylcyanide/littlechecker.py
Lightweight code checker tool in python for compiling and running Java, C & Cpp files
import os
import sys
import filecmp
import re
import subprocess
from subprocess import CalledProcessError, TimeoutExpired
STATUS_CODES = {
200: 'OK',
201: 'ACCEPTED',