This may seem like a newbie question, but it is not. Some common approaches don\'t work in all cases:
This means using path = os.path.abs
path = os.path.abs
import os current_file_path=os.path.dirname(os.path.realpath('__file__'))