%APPDATA% path python code example
Example 1: python get appdata path
import os
datapath = os.getenv('APPDATA')
Example 2: python get appdata path
# pip instapp appdata
from appdata import AppDataPaths
paths = AppDataPaths('myapp')
import os
datapath = os.getenv('APPDATA')
# pip instapp appdata
from appdata import AppDataPaths
paths = AppDataPaths('myapp')