摘要: ``` def parse_from(html): tree = lxml.html.fromstring(html) data = {} for e in tree.cssselect('form input'): if e.get('name'): data[e.get('name')] = e.get('value') ... 阅读全文
posted @ 2017-03-17 16:02 idlewith 阅读(127) 评论(0) 推荐(0) 编辑
摘要: ``` coding: utf 8 import re import csv import time try: from PySide.QtGui import QApplication from PySide.QtCore import QUrl, QEventLoop, QTimer from 阅读全文
posted @ 2017-03-17 15:41 idlewith 阅读(423) 评论(0) 推荐(0) 编辑
摘要: ``` 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) 编辑