随笔分类 -  Others

摘要:代码片段: sql_url = "select * from webpage where url = '%s'" % b try: cursor.execute(sql_url) results = cursor.fetchall() ... 阅读全文
posted @ 2015-01-08 20:09 开开甲 阅读(413) 评论(0) 推荐(0)
摘要:业务需要:我要写个tanx模拟器,给DSP发竞价请求。下面是部分代码: def PostDataToDSP(self,url,postdata): headers = { 'Content-Type':'application/octet-stream',... 阅读全文
posted @ 2014-11-04 20:39 开开甲 阅读(1733) 评论(0) 推荐(0)