python os open folder

os.system('explorer.exe'+' '+ mergedDocumentRootDir)

 

Why is the document always opened?

 

C:\Users\xxxx\Documents

 

it's wired

 

Use this method to

 

os.startfile(mergedDocumentRootDir)

Guess you like

Origin blog.csdn.net/Hodors/article/details/114845174