The os.getcwd function gets the current working directory.
cwd = os.getcwd()
Parameters
None.
Return Value
The current working directory.
The os.getcwd function gets the current working directory.
cwd = os.getcwd()
None.
The current working directory.