I often forget it and check it again, so make a note.
path.py
import os print os.path.abspath(os.path.dirname(__file__))
Recommended Posts