I have written this code in Python 3;
dotenv_path = r"./../.env"
load_dotenv(dotenv_path=dotenv_path)
Notice how I have named the variable containing the path to the .env file the same as the name of the argument load_dotenv() takes. This results in ...(dotenv_path=dotenv_path)
Is this considered bad practice? If so, what can be done to more clearly differentiate between variables (apart from simply choosing a different name), not just in this specific context but in a broader sense, without compromising for reduced code readability and/or self-documentation?