摘要: 1. 帮助手册man(manual手册)man ls或者–help例如:ls --help 2. 日期类datedate +%Y-%m-%ddate +%Y-%m-%d’ ‘%H:%M:%Sdate +%F’ '%T cal cal -y (展示一年的日历) 3. clear 或者 ctrl + L 阅读全文
posted @ 2020-06-09 15:31 逍-遥 阅读(457) 评论(0) 推荐(0) 编辑
摘要: 列表的使用。定义空列表。List = [ ] 列表的长度len(list)列表的组合list1 += list2判断元素x是否位于列表 if x in list:列表的遍历(正序逆序,和附加索引的遍历)for x in list:(正序) for x in list[::-1]:(逆序)index( 阅读全文
posted @ 2020-06-09 15:27 逍-遥 阅读(158) 评论(0) 推荐(0) 编辑
民营企业网B2B