os.path.join(os.path.dirname(_file_), "templates")
# pex
m
os.path.join(os.path.dirname(file), "templates")