摘要: ``` def get_child_windows(parent): if not parent: return hwndChildList = [] gui.EnumChildWindows(parent, lambda hwnd, param: param.append(hwnd), hwndChildList) return hwndChil... 阅读全文
posted @ 2017-03-17 09:24 idlewith 阅读(356) 评论(0) 推荐(0) 编辑
摘要: ``` from tkinter import * from tkinter.ttk import * import time import threading import requests from bs4 import BeautifulSoup url3 = 'http://stackoverflow.com/questions/31241112/blocking-tkinter-int... 阅读全文
posted @ 2017-03-16 23:28 idlewith 阅读(449) 评论(0) 推荐(0) 编辑
摘要: ``` from tkinter import * from tkinter.ttk import * import time import threading class Interface: def __init__(self, master): self.master = master self.browse_button= Button (mast... 阅读全文
posted @ 2017-03-16 22:37 idlewith 阅读(364) 评论(0) 推荐(0) 编辑
摘要: ``` # 8 organize your code import matplotlib matplotlib.use('TkAgg') from matplotlib.backends.backend_tkagg import FigureCanvasTkAgg, NavigationToolbar2TkAgg from matplotlib.figure import Figure impor... 阅读全文
posted @ 2017-03-15 01:49 idlewith 阅读(497) 评论(0) 推荐(0) 编辑
摘要: coding:utf 8 print each window import win32gui import ctypes EnumWindows = ctypes.windll.user32.EnumWindows EnumWindowsProc = ctypes.WINFUNCTYPE( ctyp 阅读全文
posted @ 2017-03-14 13:31 idlewith 阅读(556) 评论(0) 推荐(0) 编辑
摘要: ``` r.withdraw() ``` ``` r.deiconify() ``` 阅读全文
posted @ 2017-03-13 23:31 idlewith 阅读(134) 评论(0) 推荐(0) 编辑
摘要: re module version my version Python 3 version Python 2 version 阅读全文
posted @ 2017-03-13 18:42 idlewith 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 1 usually 2 specially(modify reg) add.reg remove.reg 阅读全文
posted @ 2017-03-13 09:27 idlewith 阅读(197) 评论(0) 推荐(0) 编辑
摘要: ``` python -m timeit -s "li = range(100)" "li.sort(reverse=True)" ``` 阅读全文
posted @ 2017-03-12 23:40 idlewith 阅读(137) 评论(0) 推荐(0) 编辑
摘要: body: font family: sans serif div.sphinxsidebar h3 font family: 'Trebuchet MS', sans serif div.sphinxsidebar h4 font family: 'Trebuchet MS', sans seri 阅读全文
posted @ 2017-03-12 23:08 idlewith 阅读(95) 评论(0) 推荐(0) 编辑