How to get folder name, in which given file resides, from pathlib.path? pythonfilenamespathlib ... os.chdir('/etc') >>> p = pathlib.Path('.
確定! 回上一頁