摘要:
1、两个整数相除,结果为浮点数。整数除法为//,截断所有小数部分返回整数部分2、< > <= >= == != and or not3、变量持有的是对一块数据的引用,而不是数据本身4、赋值语句改变了变量所持有的引用5、有序集合:列表、字符串、元组 无序集合:集合、字典6、列表方括号,逗号分隔,异构 阅读全文
posted @ 2019-02-12 11:23
yangly
阅读(143)
评论(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
阅读(3213)
评论(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
阅读(250)
评论(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
阅读(204)
评论(0)
推荐(0)
摘要:
一、什么是爬虫? 网页上面采集数据 二、学习爬虫有什么作用? 做案例分析,做数据分析,分析网页结构....... 三、爬虫环境 需求:python3x pycharm 模块:urllib 、urllib2、bs4、re 四、爬虫思路: 1. 打开网页,获取源码。 *由于多人同时爬虫某个网站时候,会造 阅读全文
posted @ 2019-02-12 11:12
yangly
阅读(223)
评论(0)
推荐(0)
摘要:
https://blog.csdn.net/bear_sun/article/details/79397155 阅读全文
posted @ 2019-02-12 11:09
yangly
阅读(3326)
评论(0)
推荐(0)
摘要:
https://blog.csdn.net/u010858605/article/details/64128466/ 阅读全文
posted @ 2019-02-12 11:00
yangly
阅读(126)
评论(0)
推荐(0)
摘要:
Python join() 方法用于将序列中的元素以指定的字符连接生成一个新的字符串。str = "-";seq = ("a", "b", "c"); # 字符串序列print str.join( seq ); Python标准库中的random函数,可以生成随机浮点数、整数、字符串,甚至帮助你随机 阅读全文
posted @ 2019-02-12 10:59
yangly
阅读(3227)
评论(0)
推荐(0)
摘要:
1、查找当前文件夹里名字以 “).jpg”结果的文件 将其打印 执行 删除命令 find . -name '*).jpg' -print -exec rm -rf {} \; 2、启动tomcat后,查看日志 进入logs文件夹 tail -f catalina.out 3、安装jupyter no 阅读全文
posted @ 2019-02-12 10:55
yangly
阅读(270)
评论(0)
推荐(0)
摘要:
有Linux系统sersync数据实时同步.txt是完整文件,本文档可不看服务器从 129主 244配置主服务器(源)sersync下载地址 https://code.google.com/archive/p/sersync/downloads http://sersync.sourceforge. 阅读全文
posted @ 2019-02-12 10:47
yangly
阅读(705)
评论(0)
推荐(0)

浙公网安备 33010602011771号