def getAbsoluteFolderPath(filePath, folderName=''):
 absoluteFolderPath = os.path.dirname(os.path.abspath(filePath))
 if (folderName == ''):
  return absoluteFolderPath
 return os.path.join(absoluteFolderPath, folderName)

def getAbsoluteFolderPath ( filePath , folderName = '' ) : absoluteFolderPath = os . path . dirname ( os . path . abspath ( filePath ) ) if ( folderName == '' ) : return absoluteFolderPath return os . path . join ( absoluteFolderPath , folderName )
get the absolute folder path .