而到了Python3时代后,Python3的系统标准库pathlib模块的Path 对路径的操作会更简单。 ... Path('/Users/Anders/Documents/abc.gif') print(example_path.stem) # 输出 ...
確定! 回上一頁