#!/usr/bin/env python3#!-*- coding:UTF-8 -*- import osclass GetPath():# 获取所有目录 @staticmethod def get_dir(path): print("打印所有目录:") for root, dirs, files ...
分类:
编程语言 时间:
2021-04-14 11:51:07
阅读次数:
0
转:http://paper.sciencenet.cn/htmlpaper/2021/4/202141123542661662565.shtm 美国洛克菲勒大学Luciano A. Marraffini、Charlie Y. Mo等研究人员合作发现,III-A型CRISPR免疫促进葡萄球菌突变。 ...
分类:
其他好文 时间:
2021-04-14 11:50:12
阅读次数:
0
Map<String,BaseResultMessage> brmMap = new HashMap<>(); long beginTimeSum = System.currentTimeMillis(); for(StkInventoryWlTypeEnum emum:StkInventoryWl ...
分类:
编程语言 时间:
2021-04-13 12:56:07
阅读次数:
0
#题目 #代码 #include <unordered_map> #include <vector> using namespace std; class Solution { public: vector<int> twoSum(vector<int> &nums, int target) { v ...
分类:
其他好文 时间:
2021-04-13 12:55:20
阅读次数:
0
记录一下java实现文件的上传、下载、删除的功能demo; /** * Controller */ @Slf4j @RestController @RequestMapping public class FileController { @Resource IFileService fileServ ...
分类:
编程语言 时间:
2021-04-13 12:53:13
阅读次数:
0
给你一个二叉搜索树的根节点 root ,返回 树中任意两不同节点值之间的最小差值 。 https://leetcode-cn.com/problems/minimum-distance-between-bst-nodes/ /** * Definition for a binary tree nod ...
分类:
其他好文 时间:
2021-04-13 12:43:51
阅读次数:
0
类/装饰器 @property装饰器负责把类中的方法转换成属性来调用 有三种调用方法 方法一:@property直接加在需要转换的方法上 class People: def __init__(self, name, weight, height): self.__name = name self.w ...
分类:
其他好文 时间:
2021-04-13 12:41:12
阅读次数:
0
信号介绍 SIGKILL 9 exit信号,是不会被阻塞的,不能被忽略;杀死进程的终极办法SIGSTOP 停止,并不消灭进程 SIGINT 2 Ctrl + C时OS送给前台进程组中每个进程, 默认处理的时候会调用exit终止程序SIGQUIT 3 默认处理动作是终止进程并且Core DumpSIG ...
分类:
系统相关 时间:
2021-04-13 12:31:37
阅读次数:
0
# 通用内置函数 ## pow() ### 求次幂 a1 = pow(2,3) #等同与2**3 print(a1) 结果:8 ## ord() ### 字符转换位数字 print(ord("a")) #对照ascll码 结果:97 ## chr() ### 将数字转换成unicode格式的字符,可 ...
分类:
其他好文 时间:
2021-04-13 12:31:01
阅读次数:
0
变量1,变量2,变量3=input("提示语句").split("分隔符",分隔次数) 这里input用split返回的值是列表,如果想对他进行强制类型转换请用map函数 ...
分类:
编程语言 时间:
2021-04-13 12:29:48
阅读次数:
0