Python Tricks

 

Imports

Add a folder to path. Useful to call a module that is in a parent directory:

import sys
sys.path.append("../")