Multiple Ways To Get Current Working Directory In Python
If you are a programmer, you must have come across a requirement wherein you need to access the current working directory. The current working directory is the folder where your application is running from.
In this article, I’ll show you three different ways to get current working directory using Python.
w_dir = os.getcwd()