fox fox - 1 year ago 85
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

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

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