In order to get the current working directory you'll need to use the os module with the function getcwd() as follows: import os cwd = os.getcwd() print(cwd).
確定! 回上一頁