In [lesson 1.2.5](https://lectures.scientific-python.org/intro/language/reusing_code.html), one of the notes says: >Other interpreters also offer the possibility to execute scripts (e.g., `execfile` in the plain Python interpreter, etc.). However, `execfile` has long been deprecated in python 3. I think the relavent syntax in python3 is `exec(open("./filename").read())`