rm删除命令格式:rm[参数][文件或目录路径][root@jinkai01~]#rma.txtrm:是否删除普通空文件"a.txt"?y[root@jinkai01~]#rmabcrm:无法删除"abc":是一个目录-f:强制删除文件(无法删除目录)[root@jinkai01~]#rm-fabcrm:无法删除"abc":是一个目录-r
分类:
其他好文 时间:
2020-08-18 13:44:24
阅读次数:
68
这样的表单有几百张把姓名和从事专业类别代码的值取出合并到一张总表里importpandasaspdimportos#第一步读取文件储存在是s列表中path="D:/001"#文件夹目录files=os.listdir(path)#得到文件夹下的所有文件名称lists=[]#新建一个空的列表foriinrange(len(files)):#循环paths=str(r‘D:\001\{}‘.forma
分类:
编程语言 时间:
2020-08-18 13:30:20
阅读次数:
70
一,注释规范1,申明shell类型2,程序名称3,版本号4,创建时间5,更改后时间6,作者信息:作者,联系方式7,程序作用,注意事项8,版本更新说明脚本语法检测:bash-ntest.sh脚本命令语法调试并执行:bash-xtest.sh二,变量内置变量:PS1,PATH,HISTORY,SHELL,PID,PPID,$?,$$,UID,HISTSIZE自定义变量变量命名法则:1,驼峰法,2,全大
分类:
系统相关 时间:
2020-08-18 13:21:45
阅读次数:
85
【持久层解决方式】 -“实现数据库操作” springboot-jdbc 使用JDBCTemplate springboot-JPA springboot集成MyBatis 数据源配置 springboot集成Druid 强大的应用-监控..... 其他的:C3P0,dbcp... ...
分类:
编程语言 时间:
2020-08-17 17:26:02
阅读次数:
82
https://www.runoob.com/html/html5-canvas.html 在线测试: https://www.runoob.com/try/try.php?filename=tryhtml5_canvas_tut_path ...
分类:
其他好文 时间:
2020-08-17 17:14:01
阅读次数:
63
数据库中的数据是如何被***拖取的?
数据库安全你必须知道的那些事
分类:
数据库 时间:
2020-08-17 17:05:44
阅读次数:
87
1.[root@centos8 ~]#wget https://github.com/abishekvashok/cmatrix/releases/download/v2.0/cmatrix-v2.0-Butterscotch.tar 2. [root@centos8 ~]#dnf -y insta ...
分类:
其他好文 时间:
2020-08-17 17:01:41
阅读次数:
55
点击choose report data 然后全部选中即可 主要代码如下: Report report = new Report(); var assembly = System.Reflection.Assembly.GetExecutingAssembly(); string path = Pa ...
分类:
其他好文 时间:
2020-08-17 16:52:03
阅读次数:
81
如何调用其他文件__name__=='__main__'下代码 使用os.system()或者subprocess.run()执行该文件,用这种方法相当于直接创建了一个子进程,新调用的py不影响当前调用进程。 使用runpy.run_path(,run_name='__main__')来执行文件,这 ...
分类:
其他好文 时间:
2020-08-17 16:51:33
阅读次数:
62
1 from docx import Document 2 path = r'D:\pywork\12' # word信息表所在文件夹 3 w = Document(path + '/' + 'word信息表.docx') #读取word 4 a = w.paragraphs #读word中 所有 ...
分类:
编程语言 时间:
2020-08-17 16:35:40
阅读次数:
94