os.getcwd() 获取当前工作目录; 系统路径分隔符os.path.seq; 获取当前Python文件所在 ... getcwd 用于获取当前工作目录的绝对路径: ... 在Linux/macOS 上输出 / 。
確定! 回上一頁