I am creating a small script that removes unwanted browser trackers from the C:\Users\username\AppData\Local\Microsoft\Windows\INetCache location. The problem is I cant seem to get to AppData\Local.
when running this:
os.getenv('APPDATA')
I get this output: C:\Users\username\AppData\Roaming
I need to remove \Roaming so that i can get lower in the \Local tree. How do I dynamically get to the above location exclusively on windows 10 and 7 using python 3.5?