A Python script to find out the “My Pictures” folder on Windows with Python.
from win32com import shell, shellcon mypict = shell.SHGetFolderPath(0, shellcon.CSIDL_MYPICTURES, 0, 0) print mydict
Automation of Applications with Python for Windows – The Script Collection
A Python script to find out the “My Pictures” folder on Windows with Python.
from win32com import shell, shellcon mypict = shell.SHGetFolderPath(0, shellcon.CSIDL_MYPICTURES, 0, 0) print mydict