摘要: Please have a look over here :)http://stackoverflow.com/questions/4256107/running-bash-commands-in-pythonMainlyvim /tmp/call.pyDon't useos.system. Usesubprocess.Like in your case:#bashCommand ="cwm --rdf test.rdf --ntriples > test.nt"bashCommand ="ls"import subprocess#proc 阅读全文
posted @ 2013-04-15 18:11 spaceship9 阅读(342) 评论(0) 推荐(0) 编辑
摘要: Here's what i got from the factory:To get more information: http://www.kuaipan.cn/file/id_104438662447499411.htmMQ-5传感器简介:MQ-5气体传感器所使用的气敏材料是在清洁空气中电导率较低的二氧化锡(SnO2)。当传感器所处环境中存在可燃气体时,传感器的电导率随空气中可燃气体浓度的增加而增大。使用简单的电路即可将电导率的变化转换为与该气体浓度相对应的输出信号。 MQ-5气体传感器对丁烷、丙烷、甲烷的灵敏度高,对甲烷和丙烷可较好的兼顾。这种传感器可检测多种可燃性气体,特别是天 阅读全文
posted @ 2013-04-15 02:02 spaceship9 阅读(1506) 评论(0) 推荐(0) 编辑