2019年1月29日

摘要: 这个相对简单多了,只是练习注册表操作而已 import winreg,sys def full_screen(): key_str=r"SYSTEM\CurrentControlSet\Hardware Profiles\UnitedVideo\CONTROL\VIDEO" try: key=win 阅读全文

posted @ 2019-01-29 15:02 多情俏狐 阅读(588) 评论(0) 推荐(0)

摘要: 作者: 国家电网河南原阳县供电公司 俏狐:86074731 这个问题我在国内外的很多论坛查资料都没有找到,只有自己研究了,希望可以帮到需要的朋友。本文为原创,转 载请注明出处. #coding:utf-8 import win32api, win32con #取出用户DPI#HKEY_CURRENT 阅读全文

posted @ 2019-01-29 14:59 多情俏狐 阅读(2314) 评论(0) 推荐(0)


2019年1月13日

摘要: #coding:utf-8 # # 本程序演示了WINREG操作WINDOWS注册表的所有常见操作# 作者:dengpeiyou QQ:86074731 2019.01.12# import ctypesimport winregimport os # 打开子键key=Nonetry: key=wi 阅读全文

posted @ 2019-01-13 13:14 多情俏狐 阅读(1195) 评论(0) 推荐(0)


2018年12月18日

摘要: from selenium import webdriverimport osimport timeimport re cur_path=os.getcwd() #得到程序的当前目录str_file=cur_path+'\\sss.txt' #当前目录下的文件 b=webdriver.Chrome( 阅读全文

posted @ 2018-12-18 16:27 多情俏狐 阅读(154) 评论(0) 推荐(0)


2018年12月16日

摘要: # #作者:邓沛友#2018.12.16 coding:utf-8from selenium import webdriverfrom selenium.webdriver.common.action_chains import ActionChainsfrom selenium.webdriver 阅读全文

posted @ 2018-12-16 14:31 多情俏狐 阅读(271) 评论(0) 推荐(0)


2018年12月6日

摘要: # #国家电网瑞星杀毒软件自动查询系统#开发日期:2018-12-06# #coding=utf-8import timeimport winregfrom PIL import Image from selenium import webdriver # 创建chrome参数对象opt = web 阅读全文

posted @ 2018-12-06 15:26 多情俏狐 阅读(228) 评论(0) 推荐(0)


2018年8月22日

摘要: #codeing:utf-8import tkinterimport tkinter.messageboxfrom tkinter import filedialogfrom tkinter import * #定义响应函数def CopyCmd(): tkinter.messagebox.show 阅读全文

posted @ 2018-08-22 10:12 多情俏狐 阅读(458) 评论(0) 推荐(0)

摘要: def minus(): print(" 九九乘法表 ") x=1 y=1 while(y<=9): while(x<=y): print(str(x)+"x"+str(y)+"="+str(x*y),end=' ') x+=1 x=1 y+=1 print('\n') print(" ") min 阅读全文

posted @ 2018-08-22 10:11 多情俏狐 阅读(140) 评论(0) 推荐(0)


2018年7月10日

摘要: #python3下调用系统massagebox对话框#先安装pwin32插件https://github.com/mhammond/pywin32/releases import win32apiimport win32con IDYES=6 #<是>按钮IDNO=7 #<否>按钮 ICONERRO 阅读全文

posted @ 2018-07-10 11:10 多情俏狐 阅读(1770) 评论(0) 推荐(0)


2018年7月9日

摘要: #coding=utf-8#python3下获取主流浏览器和python的安装路径#by dengpeiyou date:2018-07-09import winreg,os #取得浏览器的安装路径def get_path(mainkey,subkey): try: key = winreg.Ope 阅读全文

posted @ 2018-07-09 11:58 多情俏狐 阅读(1279) 评论(0) 推荐(0)


博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3