编程刷新explorer

from win32com.shell import shell, shellcon

def notify(f):

    shell.SHChangeNotify(shellcon.SHCNE_UPDATEITEM, shellcon.SHCNF_PATH|shellcon.SHCNF_FLUSHNOWAIT, f, None)

 

notify("c:/usr/local")

你可能感兴趣的:(编程,c,shell,Path,import)