How can I get the path to the %APPDATA% directory in Python?

import os
print os.getenv('APPDATA')

Leave a Comment