Use os.path.dirname() to extract the directory name (folder name) from the path string. ... If you want to get only the directory name directly ...
確定! 回上一頁