摘要: rm: cannot remove 'xxx': Is a directory表示这个文件是无法remove移除的,因此我们不能仅使用rm来将这个文件夹进行删除,需要使用: rm -rf 命令则可以将文件删除,删除之后利用命令:ls查看当前文件当中的目录检查是否已经被删除。 阅读全文
posted @ 2020-02-26 19:30 Geeksongs 阅读(9012) 评论(0) 推荐(1) 编辑
摘要: 在python当中很多时候会用到这三个函数,这也是考试当中十分常见的考点,这里做一些记录: 1.len():用于测量变量当中的字符串/元组等的长度 举个例子: >>> stt="great" >>> len(stt) 5 >>> er=[1,2,3,4,5] >>> len(er) 5 这样就可以得 阅读全文
posted @ 2020-02-26 19:27 Geeksongs 阅读(998) 评论(0) 推荐(0) 编辑

Coded by Geeksongs on Linux

All rights reserved, no one is allowed to pirate or use the document for other purposes.