def getPath(fullFileName):
    (dirName, unused) = os.path.split(fullFileName)
    return os.path.normpath(dirName)
c://1  ->  c:\1
dataset/ETHPy150Open harryliu/edwin/edwinAgent/common/os_helper.py/getPath