<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance ...
分类:
其他好文 时间:
2020-07-12 14:11:37
阅读次数:
80
#-*- coding:utf-8 -*- import os import re def update(): pipList = os.popen('pip3 list').readlines() #这里就相当于我们在cmd里面输入pip3 list 展示 pip3 安装的所有包 #print(p ...
分类:
编程语言 时间:
2020-07-12 12:04:27
阅读次数:
67
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:sc ...
分类:
其他好文 时间:
2020-07-12 11:51:05
阅读次数:
52
-- coding: utf-8 -- """ Created on Sat Jul 11 21:13:48 2020 @author: Administrator """ ############ 实例4:合并不同PDF文档以便一次批量打印或存档 ######################## ...
分类:
其他好文 时间:
2020-07-12 01:09:01
阅读次数:
74
E. K-periodic Garland 题意 给出一个长度为 n 的 01 串,现在规定一个串如果相邻两个 1 的位置相隔为 k ,那么这个串就是好串,现在你可以将某个位置的字符翻转,问最少需要多少次可以把这个串变成一个好串? 思路 本来是练习DP的,但是想着想着跑偏了。 好串格式应该是0000 ...
分类:
其他好文 时间:
2020-07-11 19:33:40
阅读次数:
40
一、 复制data文件夹到自己的项目当中 可以进行加载到这个文件即可 博主放入在项目的根目录当中 请移步Gitee pull 该文件 https://gitee.com/yangbuyi/ip_file 获取点击量来一波 https://www.yangbuyi.top/login.html 带入m ...
分类:
其他好文 时间:
2020-07-10 20:50:20
阅读次数:
82
1.安装 zlib yarn add zlib 2.创建中间件 app/middleware/gzip.js const isJSON = require("koa-is-json"); const zlib = require("zlib"); module.exports = (options) ...
分类:
其他好文 时间:
2020-07-10 13:41:49
阅读次数:
154
#python去重脚本 # -*- coding:utf-8 -*- #! python2 import shutil a=0 readDir = "old.txt" #old writeDir = "new.txt" #new lines_seen = set() outfile = open(w ...
分类:
其他好文 时间:
2020-07-07 19:52:23
阅读次数:
94
#!/user/bin/python3# -*- coding: utf-8 -*-# @Time : 2020/7/7 15:32# @Author :Test_zhangping# @Email :981874735@qq.com# @File :api_data.py"""首先确认用例需要修改 ...
原理:拿自己与上面一个比较,如果上面一个比自己小就将自己和上面一个调换位置,依次再与上面一个比较,第一轮结束后最上面那个一定是最大的数 #! /usr/bin/env pythonf # -*- coding: utf-8 -*- def bubble_sort(li): for i in rang ...
分类:
编程语言 时间:
2020-07-07 13:05:23
阅读次数:
165