I was wondering on how I would access another python code within my existing code? Lets say the code I want to bring over is: code1.py and the code I am working with is code2.py my idea on how to do this is:
import code1
At the very start of my code. Am I correct or is there another way of doing this? Thanks!