This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from turtle import * | |
| data = {} | |
| speed(0) | |
| slices = 0 | |
| total = 0 | |
| def inputChart(): | |
| global slices,total | |
| try: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import importlib | |
| import os | |
| from inspect import getmembers, isfunction, signature | |
| import typing | |
| # Purpose of this file is to act as a shim around all the files in the practical folders. | |
| # It allows you to run specific functions and also means they can share common libraries in the lib folder | |
| # All functions must have type hints in order to work properly | |
| # Never try and do "reflection" in Python, if you can even call it that | |
| def main(): |