list_files.py from labelme2coco2 import labelme2coco import os import glob # 获取文件名 file_names = os.listdir("./img2/") json_files = [] new_json_files = ...
分类:
其他好文 时间:
2020-05-08 17:53:13
阅读次数:
66
Given two strings S?1?? and S?2??, S=S?1???S?2?? is defined to be the remaining string after taking all the characters in S?2?? from S?1??. Your task ...
分类:
其他好文 时间:
2020-05-08 17:52:00
阅读次数:
67
import random from PIL import Image,ImageDraw, ImageFont, ImageFilter def check_code(width=120, height=30, char_length=5, font_file='Monaco.ttf', font ...
分类:
其他好文 时间:
2020-05-08 16:38:19
阅读次数:
70
import django import os,sys base_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) sys.path.append(base_dir) os.environ.setdefault("DJ ...
分类:
其他好文 时间:
2020-05-08 16:18:27
阅读次数:
66
mkdir hang/ 创建文件夹chown www hang/ 更改属主chgrp www hang/ 更改属组chmod 777 -R hang 更改文件权限 netstat -lntp|gerp 6379 查看接口监听情况 mv file* feng/ 移动文件以*结尾的名称为file的文件 ...
分类:
其他好文 时间:
2020-05-08 16:15:20
阅读次数:
52
/* This file contains definitions used by the Hex-Rays decompiler output. It has type definitions and convenience macros to make the output more reada ...
分类:
其他好文 时间:
2020-05-08 16:13:24
阅读次数:
107
# -*- coding: utf-8 # File : pdfpdfplumberRead.py # Author : baoshan import pdfplumber path = "D:\\nianjian.md.pdf" path = "D:\\0.shenma\\01.聊城资料\\01. ...
分类:
其他好文 时间:
2020-05-08 14:39:38
阅读次数:
329
使用cat+uniq命令 其实就是统计每行重复多少次 格式:uniq [options][file1 [files]] uniq c file file中的重复行输出一次,并在每行前显示重复次数 uniq d file file中的重复行输出一次,但不输出唯一的行 uniq u file 只输出fi ...
分类:
系统相关 时间:
2020-05-08 13:28:17
阅读次数:
280
async down_1() { const { data: res } = await this.$http.get( "5003/sys/file/download?originalName=" + this.originalName_1 + "&" + "remoteFileName=" + ...
分类:
其他好文 时间:
2020-05-08 13:21:09
阅读次数:
225