python随笔:os.path中的realpathdirnamejoin的学习 1.os.path.realpath(__file__)获取到当前文件的真实地址 2.os.path.dirname(__file__)获取当前文件的目录地址 3.os.path.join()拼接地址