How can I get the path to the %APPDATA% directory in Python?
%APPDATA%
You can try doing:
import os path = os.getenv('APPDATA') array = os.listdir(path) print array