Python Language Get the parent directory


Example

os.path.abspath(os.path.join(PATH_TO_GET_THE_PARENT, os.pardir))