Skip to content

Instantly share code, notes, and snippets.

View tjaycodes4you's full-sized avatar

TJ Oludemi tjaycodes4you

View GitHub Profile
import sys
from pathlib import Path
def get_project_root() -> str:
"""
This fx is super important!
Literally everything acts up if this isn't good.
"""
if getattr(sys, 'frozen', False):
@tjaycodes4you
tjaycodes4you / spooky_inheritance_in_python.py
Created August 23, 2022 07:44
This file is to illustrate that child classes have a different base class object than their parent.
"""
This test is to illustrate that child classes have a different base class object as their parent.
"""
class Monitor:
reqs_sent = 0
SKK_IS_GOOD