Advertisement

Python3获取失信人数据

阅读量:
复制代码
 #!/usr/bin/env python

    
 # -*- coding: utf-8 -*-
    
 # @Time    : 2018/10/10 20:21
    
 # @Author  : zhangz
    
 # @Site    :
    
 # @File    : shixinren.py
    
 # @Software: PyCharm
    
 #coding=utf-8
    
 import time
    
 import requests
    
 time1=time.time()
    
 from lxml import etree
    
 import json
    
 import MySQLdb as mdb
    
 #连接自己的数据库,当然数据想存到文件中可忽视这部分
    
 conn = mdb.connect(host='localhost', port=3306, user='root', password='xxxxxx', db='dbname', charset='utf8')
    
 cursor = conn.cursor()
    
  
    
 # 查数据总数量
    
 def listnum(iname=''):
    
     url=

全部评论 (0)

还没有任何评论哟~