目录pathlib.Path路径操作一 介绍classmethod,可通过Path类直接调用1 Path.cwd()2 Path.home()二 介绍非classmethod,需要初始化Path类然后调用3 Path.samefile(other_path)4 Path.iterdir( )5 Path.glob(patt