fox fox - 2 months ago 11
Python Question

easiest way to get %appdata% path variable in python

Sorry if this is a redundant question, writing a Python file that needs to pull from the

%APPDATA%
directory. What is the easiest way to find the path to this folder?

Answer
import os
print os.getenv('APPDATA')