How can I get the path to the %APPDATA% directory in Python? January 30, 2023 by Tarik import os print os.getenv('APPDATA')