摘要: 001、 [root@PC1 test]# ls hello.py [root@PC1 test]# cat hello.py #!/usr/bin/env python # -*- coding:utf-8 -*- import argparse ## 导入模块 parser = argparse 阅读全文
posted @ 2025-07-29 17:36 小鲨鱼2018 阅读(4) 评论(0) 推荐(0)
摘要: 001、python中tqmd函数实现for循环的进度条 [root@PC1 test]# ls test.py [root@PC1 test]# cat test.py #!/usr/bin/env python # -*- coding:utf-8 -*- from tqdm import tq 阅读全文
posted @ 2025-07-29 17:13 小鲨鱼2018 阅读(19) 评论(0) 推荐(0)
摘要: 001、 读取数据,并显示数据的维度 [root@PC1 test]# ls a.out test.py [root@PC1 test]# cat a.out ## 测试数据 id pos gpos p1 ihh1 . 7111 0.007111 0.139456 0.00604659 . 7148 阅读全文
posted @ 2025-07-29 09:32 小鲨鱼2018 阅读(9) 评论(0) 推荐(0)