import pybullet as p import os def getDataPath(): resdir = os.path.join(os.path.dirname(__file__)) return resdir