Python remonte à un en utilisant l'abspath

os.path.abspath(os.path.join(os.path.dirname( __file__ ), '..', 'templates'))
paul john