Still very new to Python. Within Windows using Python 3.7.
I would like to have a way of using Python to find windows user directories e.g. "Downloads" that have been moved to a secondary drive using the supported windows method.
As described by
https://www.windowscentral.com/how-move-default-user-folders-new-drive-windows-10
I prefer not to use Symlinks for this though it would bypass the issue.
Currently I use as
os.path.expanduser('~/Downloads')
This returns the default user folder say C:/Users/user/
followed by the folder mentioned C:/Users/user/downloads
rather than linking to the user defined default folder for downloads in this case say D:/user/Downloads
.
Could you please advise me on the right approach?