45 lines
1.4 KiB
Python
Raw Normal View History

2025-02-14 20:13:04 +01:00
# Cal Wing (uqcwing)
# A1 Attempt 1
# 14/02/25
2025-02-14 20:18:03 +01:00
# These could be from the std math lib, but I like the numpy ones better personally
from numpy import sin, cos, pi
# Fill these in with your details
__author__ = "Cal Wing"
__email__ = "cal@wing.id.au"
__date__ = "14/02/2025"
__version__ = "1.0.0"
# I have some useful things setup and wanted to play with python's arg parse
# This is not in any way apart of the assignment.
# This is to override consts / funcs as needed
# It is not impactful on the assignment and can be removed with no consequence
if __name__ == "__main__":
import argparse
# This is purely here to allow for my personal quirks
arg_parser = argparse.ArgumentParser(description="ENGG1001 Assignment 1")
arg_parser.add_argument("--debug", help="Enable debug mode", default=False, required=False, action=argparse.BooleanOptionalAction)
args, unknown = arg_parser.parse_known_args()
# Only import the debug_lib (and override the input func) if debug mode is enabled
if args.debug:
print("Debug mode enabled - Using debug input...")
import makeGraph
from makeGraph import makeGraph, UQ_COLOURS as UQC
#from debug_lib import auto_input
#input_cases = []
#input = auto_input(input_cases)
# ============== Assignment Starts Here ==============
2025-02-14 20:13:04 +01:00
def main():
print("Hello World!")
if __name__ == '__main__':
main()