Windows 10 Environment Variables
A look at Windows 10 Environmental Variables to access a generic location in a User Profile such as the User Profile Libraries, the Application Data or the Temp folder. Environmental Variables can also be used to access the Public Folders and the OneDrive folder. They are also available for the ProgramFiles, ProgramData and Windows folders.
A custom Windows 10 Environmental Variable can be mapped to an Environment Variable.
The os module of the Python library can be used to access the Environment variables. The attribute environ acts as a dictionary and the environmental variable acts as a key.
In Windows:
%UserProfile%
Will take you to C:\Users\YourUserName
In Python this string can be accessed using:
import os
os.environ['UserProfile']
Written Guide:
https://dellwindowsreinstallationguide.com/windows-10-environment-variables/
#Windows10 #environmentvariables #genericuserprofile