Find current directory and file's directory,os.path.realpath(path)