To get the current working directory, you use the os.getcwd() as follows: ... and macOS, you need to use platform-independent file and directory paths.
確定! 回上一頁