os.popen() a pipe : Os : Buildin Module PYTHON TUTORIALS


PYTHON TUTORIALS » Buildin Module » Os »

 

os.popen() a pipe


import os
f = os.popen('uname -a')
data = f.readline()
f.close()
print data,



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo Buildin Module
» Os