摘要:
public class FolderUtil { List list = new ArrayList(); public List refreshFileList(String strPath) { File dir = new File(strPath); File[] files = dir.listFiles(); ... 阅读全文
posted @ 2019-02-12 12:00
yangly
阅读(347)
评论(0)
推荐(0)
摘要:
public class FolderUtil { /** * @param path * @return * 得到目录下的文件 */ public List getDirectoryFile(String path){ List retList=new ArrayList(); File dir = n... 阅读全文
posted @ 2019-02-12 11:55
yangly
阅读(360)
评论(0)
推荐(0)
摘要:
public void import2(){ TagImgFilter filterTg = new TagImgFilter(); //ImgCaseFilter filterC = new ImgCaseFilter(); //ImgCenterFilter filterImc = new ImgCenterFilter(); ... 阅读全文
posted @ 2019-02-12 11:50
yangly
阅读(132)
评论(0)
推荐(0)
摘要:
安装pcre依赖库(http://www.pcre.org/) sudo apt-get updatesudo apt-get install libpcre3 libpcre3-dev 安装zlib依赖库(http://www.zlib.net) sudo apt-get install zlib 阅读全文
posted @ 2019-02-12 11:28
yangly
阅读(109)
评论(0)
推荐(0)
摘要:
# -*- coding: utf-8 -*- """ Created on Tue Sep 11 18:50:42 2018 @author: LX """ import cv2 import os def data_eight_twentyfor(filedir,savedir,i): list=os.listdir(filedir) print(len(list)) ... 阅读全文
posted @ 2019-02-12 11:26
yangly
阅读(2508)
评论(0)
推荐(0)
摘要:
1、两个整数相除,结果为浮点数。整数除法为//,截断所有小数部分返回整数部分2、< > <= >= == != and or not3、变量持有的是对一块数据的引用,而不是数据本身4、赋值语句改变了变量所持有的引用5、有序集合:列表、字符串、元组 无序集合:集合、字典6、列表方括号,逗号分隔,异构 阅读全文
posted @ 2019-02-12 11:23
yangly
阅读(139)
评论(0)
推荐(0)
摘要:
def data_enhance_save_another_path(file_dir,save_path): for dir in in os.listdir(fil(file_dir): if not ot os.path.exists(sav(save_path + dir): ): os.mkdir(sav(save_path + dir) for... 阅读全文
posted @ 2019-02-12 11:22
yangly
阅读(3212)
评论(0)
推荐(0)
摘要:
# -*- coding: utf-8 -*- """ Created on Wed Aug 29 09:58:37 2018 @author: LX """ import os import cv2 videos_src_path = 'D:\\' videos_save_path = 'D:\\b' videos = os.listdir(videos_src_path) videos... 阅读全文
posted @ 2019-02-12 11:20
yangly
阅读(249)
评论(0)
推荐(0)
摘要:
import MySQLdb as mdb from fdfs_client.client import * """ 连接数据库 查找tag_img表 查找url,id fastdf根据url下载图(还未实现) """ db131 = mdb.connect("192.168.1.31","sss","sss","ss-sss2",charset='utf8') db160 = mdb.con... 阅读全文
posted @ 2019-02-12 11:16
yangly
阅读(201)
评论(0)
推荐(0)
摘要:
一、什么是爬虫? 网页上面采集数据 二、学习爬虫有什么作用? 做案例分析,做数据分析,分析网页结构....... 三、爬虫环境 需求:python3x pycharm 模块:urllib 、urllib2、bs4、re 四、爬虫思路: 1. 打开网页,获取源码。 *由于多人同时爬虫某个网站时候,会造 阅读全文
posted @ 2019-02-12 11:12
yangly
阅读(219)
评论(0)
推荐(0)