2015年12月16日
摘要: import redef compute_add_sub(s): p = re.compile(r'(.*?)([+-]?\d*\.*\d+[+-]\d+\.*\d*)(.*)') match = p.search(s) if match: pre = match.g... 阅读全文
posted @ 2015-12-16 10:52 zhaobin022 阅读(237) 评论(0) 推荐(0) 编辑
  2015年12月15日
摘要: #!/usr/bin/python# -*- coding: utf-8 -*-import jsonimport requestsfrom urlparse import urljoin BASE_URL = 'http://192.168.26.67:8000'AUTH = ('admin', ... 阅读全文
posted @ 2015-12-15 11:19 zhaobin022 阅读(6347) 评论(0) 推荐(0) 编辑