os.popen(cmd) .read() 获取执行后的结果且带有换行符\n
摘要:
os.popen(cmd) .read() 获取执行后的结果自动带有换行符\n >>> a=os.popen("ls ./soapnuke_output/CL100006359_L01_8 |wc -l")>>> a<open file 'ls ./soapnuke_output/CL1000063 阅读全文
posted @ 2018-04-14 09:59 BioinformaticsMaster 阅读(7778) 评论(0) 推荐(0) 编辑