ubuntu - Linux command line instructions from python -


this question has answer here:

is there method issuing command line instructions directly python shell?

you can use os.system -

import os os.system('<command line instruction>') 

Comments

Popular posts from this blog

gcc - MinGW's ld cannot perform PE operations on non PE output file -

How to connect android app to App engine -

hadoop - Running Map Reduce Job shows error - Mkdirs failed to create /var/folders/ -