上一页 1 ··· 4 5 6 7 8
摘要: count = 1 for i in range(ord("!"), ord("~")+1): if count % 10 != 0: print(chr(i),end=" ") else: print(chr(i)) count += 1 阅读全文
posted @ 2018-06-23 21:49 睡觉了嘛 阅读(122) 评论(0) 推荐(0) 编辑
摘要: ! 需要安装 pywin32-64 阅读全文
posted @ 2018-06-21 10:39 睡觉了嘛 阅读(163) 评论(0) 推荐(0) 编辑
摘要: import win32con import win32gui import time import math notepad = win32gui.FindWindow("Photo_Lightweight_Viewer","example.jpg - Windows 照片查看器") while True: # time.sleep(0.5) for size in range... 阅读全文
posted @ 2018-06-21 10:35 睡觉了嘛 阅读(181) 评论(0) 推荐(0) 编辑
摘要: import win32con import win32gui import time while True: time.sleep(1) notepad = win32gui.FindWindow("Notepad","无标题 - 记事本") for size in range(0,1620): time.sleep(0.001) win... 阅读全文
posted @ 2018-06-21 10:34 睡觉了嘛 阅读(458) 评论(0) 推荐(0) 编辑
摘要: import win32con import win32gui import time import math notepad = win32gui.FindWindow("Notepad","无标题 - 记事本") while True: SE = 0.0 # 弧度 while SE - 3.1415926535 *2 < 0.0000001: #浮点数运算存在误差 ... 阅读全文
posted @ 2018-06-21 10:33 睡觉了嘛 阅读(2083) 评论(0) 推荐(0) 编辑
摘要: python控制窗口缩放 阅读全文
posted @ 2018-06-21 10:31 睡觉了嘛 阅读(679) 评论(0) 推荐(0) 编辑
摘要: import win32con # 定义 import win32gui # 界面 import time # 时间 QQ= win32gui.FindWindow("TXGuiFoundation","QQ") for num in range(120): time.sleep(1) if num%2 == 0: win32gui.ShowWindow... 阅读全文
posted @ 2018-06-21 10:27 睡觉了嘛 阅读(4172) 评论(0) 推荐(0) 编辑
摘要: import win32process # 进程模块 import win32con # 系统定义 import win32api # 调用系统模块 import ctypes # c语言类型 import win32gui #界面 import time # 系统常量,标识最高权限打开一个进程 PROCESS_ALL_ACCESS = (0x000F0000|0x00100000|0xFFF... 阅读全文
posted @ 2018-06-21 10:26 睡觉了嘛 阅读(6076) 评论(0) 推荐(1) 编辑
上一页 1 ··· 4 5 6 7 8