python how to get AppData path code example Example: python get appdata path import os datapath = os.getenv('APPDATA')