Replacing os.system() : Subprocess : Buildin Module PYTHON TUTORIALS


PYTHON TUTORIALS » Buildin Module » Subprocess »

 

Replacing os.system()


from subprocess import call
import os
res = call(('cat', '/etc/motd'))



Leave a Comment / Note


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


PYTHON TUTORIALS

 Navioo Buildin Module
» Subprocess