上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 30 下一页
摘要: scikit-learn这个是正版的版本 合在一起的是盗版的,千万不要用 阅读全文
posted @ 2021-12-07 17:58 3ξ 阅读(25) 评论(0) 推荐(0) 编辑
摘要: fileds, 这个是一个很简单的东西 里面有对字符串,整型,浮点型,List,等等吧, 如何判断 equal range length oneof 等等吧自己去看源码吧 阅读全文
posted @ 2021-11-30 19:42 3ξ 阅读(109) 评论(0) 推荐(0) 编辑
摘要: wget http://nginx.org/download/nginx-1.16.1.tar.gz /home/ws/nginx yum -y install wget 源码安装:配置 编译 安装 tar xf nginx-1.16.1.tar.gz ./configure --prefix=/u 阅读全文
posted @ 2021-11-21 20:46 3ξ 阅读(26) 评论(0) 推荐(0) 编辑
摘要: #! /usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2021/11/12 15:44 """ 我们再写一遍这个算法; """ from icecream import ic import jieba import jieba.analys 阅读全文
posted @ 2021-11-12 16:27 3ξ 阅读(32) 评论(0) 推荐(0) 编辑
摘要: from icecream import ic from collections import defaultdict texts = [ ["楚枫","楚月","爱"], ["修罗","楚枫"], ["楚月"] ] default_dict = defaultdict(int) for text 阅读全文
posted @ 2021-11-12 16:01 3ξ 阅读(40) 评论(0) 推荐(0) 编辑
摘要: 只有集合才可以交差并补, 记住那几个关键字 return 1/2 return (1/ 2) return 1/\ 2 还有算法,等我上传代码。 阅读全文
posted @ 2021-11-11 10:37 3ξ 阅读(68) 评论(0) 推荐(0) 编辑
摘要: 1.Flask get @app.route('/get',methods=["get"]) def get(): print(f"request.args{request.args}") return 'GET!' View Code 2.Flask post @app.route('/post' 阅读全文
posted @ 2021-11-10 15:52 3ξ 阅读(220) 评论(0) 推荐(0) 编辑
摘要: 1.字符串对齐:左对齐,右对齐,居中 # 第一个参数是一共占多少位,第二个参数默认是空格 #居中显示的话如果左右不对称,他会靠左 print("wusen".center(10,"-")) print("wusen".ljust(10,"-")) print("wusen".rjust(10,"-" 阅读全文
posted @ 2021-11-10 15:52 3ξ 阅读(44) 评论(0) 推荐(0) 编辑
摘要: 1安装:pip install python-Levenshtein;(但是会报错,你自己去下载这个包) 2.原理解析: “”“ 就是计算两个字符串之间的改动次数:改动包括(新增,修改,删除) (1-两个字符所有的改动次数 / 两个字符之和 ) = 近似比率 ”“” 3.如何使用: import L 阅读全文
posted @ 2021-11-08 14:05 3ξ 阅读(107) 评论(0) 推荐(0) 编辑
摘要: import cv2import numpy as npfrom matplotlib import pyplot as pltfrom PIL import Imageimg_url = r'E://0.png'with open(img_url, 'rb') as f: a = f.read() 阅读全文
posted @ 2021-11-01 21:06 3ξ 阅读(34) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 30 下一页