I have a script / program that I'm working on, it requires a configuration file (I use ConfigParser ). In linux, by default I save these variables to ~/.myscript using the os.getenv('HOME') function.
On Windows, I know that I can use os.getenv('USERPROFILE') to search for the user's home directory, however, is it a good idea to save the hidden file this way (i.e. with the name .myscript )?
I am not using Windows, obviously, but wanted to be smart about it for those who do it.
Is there a standard place / way to store these configuration variables on Windows?
source share