"BTW: I wonder why the Windows functions in appdirs don't use
the environment for much easier access to e.g. APPDATA and USERPROFILE."
The environment can become corrupted more easily and it's really difficult to diagnose that from a bug report that says "my config is corrupt". I assume appdirs using ctypes now, but I'd be happy to add the call into the os module to avoid that.
Cheers,
Steve
Top-posted from my Windows Phone