摘要: 001、问题 [root@pc1 test4]# ls a.fa test.py [root@pc1 test4]# cat a.fa >chr1 aatt cc >chr2 ttgg ccttgg >chr3 TTCCGG cctt ccgg [root@pc1 test4]# cat test. 阅读全文
posted @ 2022-10-31 15:35 小鲨鱼2018 阅读(82) 评论(0) 推荐(0) 编辑
摘要: 001、方法1 >>> list1 = ["aaa", "bbb", "ccc"] >>> list2 = [100, 500, 300] >>> dict1 = dict(zip(list1, list2)) >>> dict1 {'aaa': 100, 'bbb': 500, 'ccc': 30 阅读全文
posted @ 2022-10-31 11:44 小鲨鱼2018 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 001、 [root@pc1 test3]# ls a.txt [root@pc1 test3]# cat a.txt ## 测试数据 r d u y f s x v y [root@pc1 test3]# rev a.txt ## 实现按列反转 u d r s f y y v x 阅读全文
posted @ 2022-10-31 08:42 小鲨鱼2018 阅读(24) 评论(0) 推荐(0) 编辑