Writing to file
Creating a new file
f = open(“filename.txt”, “x”)
Reading from a file
File_object = open(r"File_Name", “Access_Mode”)
Conversion
Converting from byte to int
int.from_bytes(num, endianess ("big" or "little"))
Converting from byte to hex
byte.hex()
From hex to byte
bytes.fromhex(HEX)
Creating a class
self –> this in java
https://www.w3schools.com/python/python_classes.asp https://stackoverflow.com/questions/141545/how-to-overload-init-method-based-on-argument-type