
python
qq_22253209
这个作者很懒,什么都没留下…
展开
-
python3实现爬取百度图库的图片
环境:python3#!/usr/bin/python # -*-coding:utf-8-*- # FileName:spider.py # Author:Cody # Date:2018/5/11 22:10 import requests # http客户端 import re # 正则表达式模块 import random #随机数 def spiderPic(html, key...原创 2018-05-12 13:11:11 · 1132 阅读 · 1 评论 -
python3 ActiveMQ从quene消费
Python利用stomp从activeMq中消费数据 #!/usr/bin/env python import time import sys import os import stomp user = "cody" password = "123456" host = "192.7.1.136" port = 61613 destination = "test" class ...原创 2018-12-01 23:47:41 · 1365 阅读 · 0 评论 -
数据简单的清洗处理
有时文件数据较大时,csv转excel会发生数据丢失,这时候可以利用python对数据进行简单的校验处理 #!/usr/bin/env python ''' 文件类型 province,city,district,year,month,day,carrier, in_num,out_num,dwell_num 河北省,秦皇岛市,海港区,20180816,3289.0-1132.0-1167....原创 2018-12-01 23:54:07 · 488 阅读 · 0 评论