Changes

Jump to: navigation, search

OPS435 Python3 Lab 3

No change in size, 14:31, 25 September 2019
PART 2 - Launching Linux command and controlling its process with builtin functions in os and subprocess modules
import os
whoami_return=os.popen('whoami')
whocmi_contents whoami_contents = whoami_return.read()
print('whoami_contents:',whoami_contents)
</source>What conclusion would you draw from the about python script?
1,760
edits

Navigation menu