基于这段时间的体验,我列出了几个pathlib模块的优势和特点。 ... 的写法 In : os.path.basename('/usr/local/etc/mongod.conf') Out: 'mongod.conf' ...
確定! 回上一頁