摘要: 以下代码是某个项目中的一部分,无法直接使用。 1、需要有一个试图返回数据据(数据API) def dataYear(request): """ 统计所有数据的界面, 生成年份标签 """ year = request.GET['year'] table_type = request.GET['tab 阅读全文
posted @ 2017-10-10 13:05 lplucky 阅读(7892) 评论(0) 推荐(0)
摘要: #!/usr/bin/python # coding:utf8 import os import chardet import sys import traceback import logging # 遍历文件 def get_all_file_path(path, all_file_path): """ :param path: 指定的扫描路径 :param a... 阅读全文
posted @ 2017-10-10 12:51 lplucky 阅读(342) 评论(0) 推荐(0)