在寫 GUI 程式時,有時需要打開特定的檔案總管視窗,讓使用者把檔案放進去。

import subprocess
subprocess.Popen('explorer "C:\"')
Last modified: 2019-02-21

Author

Comments

Write a Reply or Comment

Your email address will not be published.