摘要: ``` #!/usr/bin/env python # _*_ coding: utf-8 _*_ # @author : otfsenter # @time : 2017/4/20 22:50 import win32com class TimeType(basestring): def __init__(self): pass class easyE... 阅读全文
posted @ 2017-04-20 23:55 idlewith 阅读(185) 评论(0) 推荐(0) 编辑
摘要: ``` env_list = [] new_env = 'D:\\Python27;D:\\Python27\\Scripts' user_env = _winreg.CreateKey(_winreg.HKEY_CURRENT_USER, 'Environment') try: value, type1 = _winreg.QueryValueEx(us... 阅读全文
posted @ 2017-04-20 11:20 idlewith 阅读(123) 评论(0) 推荐(0) 编辑