I want to read hidden config file from python. Please let me know the solution for this.
You read it the same as any other non-hidden config file. Hidden or not,
it’s just a file.
Do you know the pathname of the file?
Do you know the format of the file?
If you don’t know the answer to either of those questions, then no
programming language will help you.
Here is how I can read the hidden “.bashrc” from Python. In my home
directory on Linux, I run:
with open('.bashrc', 'r') as f: print(f.read())
If you are on Windows, you probably don’t have a “.bashrc” file.