上一页 1 ··· 159 160 161 162 163 164 165 166 167 ··· 351 下一页
摘要: 如果只想看文件的前100行,可以使用head命令,如 head -100 filename 如果想查看文件的后100行,可以使用tail命令,如: tail -100 filename 或 tail -n 100 filename 查看文件中间一段,可以使用sed命令,如: sed -n ‘100, 阅读全文
posted @ 2020-09-21 09:15 emanlee 阅读(13176) 评论(0) 推荐(1)
摘要: Try: python -m pdb test.py arg1 arg2 Running python -m pdb runs pdb as a script. If test.py is somewhere in your path rather than your current working 阅读全文
posted @ 2020-09-20 22:28 emanlee 阅读(3140) 评论(0) 推荐(1)
摘要: 迁移系统:https://jingyan.baidu.com/article/5d368d1ec59ac43f60c05733.htmlhttps://jingyan.baidu.com/article/b87fe19e7594b252183568b4.html 分区助手: https://www. 阅读全文
posted @ 2020-09-16 14:10 emanlee 阅读(764) 评论(0) 推荐(0)
摘要: wget https://mirror.oxfordnanoportal.com/software/analysis/ont-guppy-cpu-3.1.5-1.el7.x86_64.rpmsudo yum install ont-guppy-cpu-3.1.5-1.el7.x86_64.rpmgu 阅读全文
posted @ 2020-09-13 22:51 emanlee 阅读(4579) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-09-10 12:41 emanlee 阅读(225) 评论(0) 推荐(0)
摘要: Java调用Pythonhttps://blog.csdn.net/qq_26591517/article/details/80441540https://www.cnblogs.com/nuccch/p/8435693.htmlJava中调用shell命令https://blog.csdn.net 阅读全文
posted @ 2020-09-07 22:19 emanlee 阅读(374) 评论(0) 推荐(0)
摘要: import platform print(platform.python_version()) import sys print(sys.version) 阅读全文
posted @ 2020-09-05 20:47 emanlee 阅读(1697) 评论(0) 推荐(0)
摘要: REF: https://www.cnblogs.com/testlearn/p/11704984.html f-Strings语法与str.format()使用的语法类似,但较少细节啰嗦,只需要在格式化字符串前加f或F即可。看看这是多么容易可读: name = "tom" age = 2 prin 阅读全文
posted @ 2020-09-05 20:19 emanlee 阅读(356) 评论(0) 推荐(0)
摘要: Download latest epel-release rpm from http://download-ib01.fedoraproject.org/pub/epel/7/x86_64/ https://download-ib01.fedoraproject.org/pub/epel/7/x86 阅读全文
posted @ 2020-09-05 13:48 emanlee 阅读(2774) 评论(0) 推荐(0)
摘要: #!/usr/bin/python 是告诉操作系统执行这个脚本的时候,调用/usr/bin下的python解释器; #!/usr/bin/env python 这种用法是为了防止操作系统用户没有将python装在默认的/usr/bin路径里。当系统看到这一行的时候,首先会到env设置里查找pytho 阅读全文
posted @ 2020-09-04 23:11 emanlee 阅读(581) 评论(0) 推荐(0)
上一页 1 ··· 159 160 161 162 163 164 165 166 167 ··· 351 下一页