Make OS open directory in Python
Posted
by Vidar
on Stack Overflow
See other posts from Stack Overflow
or by Vidar
Published on 2010-05-20T23:57:48Z
Indexed on
2010/05/21
0:00 UTC
Read the original article
Hit count: 232
python
I am writing a program in Python, and want to get it to make the OS open the current working directory, making for instance Windows open explorer.exe and navigating to the wanted directory. Any ideas on how to do this?
The directory is already given by os.getcwd.
Cross platform methods preferred :)
© Stack Overflow or respective owner