随笔分类 -  python

python3 itertools模块
摘要:count cycle repeat迭代内容 >>> import itertools >>> n = itertools.count(1) #从1开始增加的迭代 >>> for i in n: print(i) >>> n = itertools.cycle('ABCDE') #循环cycle参数 阅读全文
posted @ 2022-02-18 17:04 xu_library 阅读(93) 评论(0) 推荐(0)
centos编写脚本设置开机自动启动的sh以及BWA deploy上线SOP
摘要:cd /etc/rc.d/init.d/ sudo vim ***autostart.sh 1 #!/bin/sh 2 #chkconfig: 2345 81 96 3 #description: Starttomcat 4 /usr/local/bin/uwsgi /srv/www/E3_Rack 阅读全文
posted @ 2021-12-07 09:39 xu_library 阅读(123) 评论(0) 推荐(0)