Jan-20-2021, 04:27 PM
(This post was last modified: Jan-20-2021, 04:28 PM by spaceraiders.)
If you're asking on how to get the AppData directory, I showed right here:
"C:/Users/<Username>/AppData/my_script"
All you must do is replace <Username> with your account's Username. However, I believe you can use os.getenv("APPDATA") to retrieve the path to the AppData directory.
"C:/Users/<Username>/AppData/my_script"
All you must do is replace <Username> with your account's Username. However, I believe you can use os.getenv("APPDATA") to retrieve the path to the AppData directory.
import os print(os.getenv("APPDATA"))