标签:
import _winreg as winreg def get_desktop(): key = winreg.OpenKey(winreg.HKEY_CURRENT_USER, ‘Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders‘) return winreg.QueryValueEx(key, "Desktop")[0]
标签:
原文地址:http://www.cnblogs.com/linsir/p/4544504.html