Open Folder in Desktop

Ulf Göransson ug at algonet.se
Tue Jan 25 03:26:50 EST 2005


Kamilche wrote:
> Is there a command you can execute in Python that will open a window on
> the desktop, such as 'My Documents'? Kind of like 'system', but for
> folder names, not just programs. I'm running on Windows 2000.

Maybe this is good enough?

os.system("explorer " + folder_path)

/ug



More information about the Python-list mailing list