上一页 1 ··· 147 148 149 150 151 152 153 154 155 ··· 367 下一页
摘要: 001、 root@PC1:/home/test# ls a.fastq test.py root@PC1:/home/test# cat a.fastq ## 测试fastq文件 @DJB775P1:248:D0MDGACXX:7:1202:12362:49613 TGCTTACTCTGCGTTG 阅读全文
posted @ 2022-08-15 16:28 小鲨鱼2018 阅读(358) 评论(0) 推荐(0) 编辑
摘要: 001、 root@PC1:/home/test# ls a.fastq test.py root@PC1:/home/test# cat a.fastq ## 测试fastq文件 @DJB775P1:248:D0MDGACXX:7:1202:12362:49613 TGCTTACTCTGCGTTG 阅读全文
posted @ 2022-08-15 16:03 小鲨鱼2018 阅读(184) 评论(0) 推荐(0) 编辑
摘要: 001、 root@PC1:/home/test# ls a.fastq test.py root@PC1:/home/test# cat test.py ## 测试程序 #!/usr/bin/python in_file = open("a.fastq", "r") out_file = open 阅读全文
posted @ 2022-08-15 15:53 小鲨鱼2018 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 001、 >>> set1 = {"a", "b", "c", "d"} ## 测试集合 >>> set1 {'c', 'a', 'd', 'b'} >>> set1.remove("d") ## 删除集合中的元素 >>> set1 {'c', 'a', 'b'} >>> set1.add(&qu 阅读全文
posted @ 2022-08-15 14:49 小鲨鱼2018 阅读(54) 评论(0) 推荐(0) 编辑
摘要: 001、 >>> dict1 = {"a":100, "b":200, "c":300, "d":400, "e":500} ## 测试字典 >>> dict1 {'a': 100, 'b': 200, 'c': 300, 'd': 400, 'e': 500} >>> dict1.get("b") 阅读全文
posted @ 2022-08-15 14:37 小鲨鱼2018 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 001、利用内置函数update实现 >>> dict1 = {"a":100, "b":200} ## 测试字典1 >>> dict1 {'a': 100, 'b': 200} >>> dict2 = {"c":300, "d":400} ## 测试字典2 >>> dict2 {'c': 300, 阅读全文
posted @ 2022-08-15 14:26 小鲨鱼2018 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 001、 直接利用索引实现 >>> test1 = {"a":100, "b":200, "c":300, "d":400} ## 测试字典 >>> test1 {'a': 100, 'b': 200, 'c': 300, 'd': 400} >>> test1["b"] = 8888 ## 更新字 阅读全文
posted @ 2022-08-15 14:15 小鲨鱼2018 阅读(403) 评论(0) 推荐(0) 编辑
摘要: 001、利用索引实现 >>> test1 = {"a":100, "b":200, "c":300, "d":400} ## 测试字典 >>> test1 {'a': 100, 'b': 200, 'c': 300, 'd': 400} >>> test1["e"] = 500 ## 直接利用索引实 阅读全文
posted @ 2022-08-15 14:10 小鲨鱼2018 阅读(1306) 评论(0) 推荐(0) 编辑
摘要: 001、 >>> test1 = ["a", "b", "c", "d", "e", "f", "g"] ## 测试列表 >>> test1 ['a', 'b', 'c', 'd', 'e', 'f', 'g'] >>> test1[2:-2] ## 同时删除首尾的两个字符 ['c&# 阅读全文
posted @ 2022-08-15 13:44 小鲨鱼2018 阅读(32) 评论(0) 推荐(0) 编辑
摘要: 001、 #include <stdio.h> #include <limits.h> int main(void) { printf("CHAR_BIT: %d\n", CHAR_BIT); return 0; } 阅读全文
posted @ 2022-08-15 02:21 小鲨鱼2018 阅读(42) 评论(0) 推荐(0) 编辑
上一页 1 ··· 147 148 149 150 151 152 153 154 155 ··· 367 下一页