Changes

Jump to: navigation, search

OPS435 Python Lab 3

1 byte added, 19:50, 2 June 2017
PART 2 - Running System Commands with Subprocess
:::*The script should have a '''Shebang line'''
:::*The script should '''import subprocess'''
:::*The script should use the linux command: '''df -h | grep "/$"| awk "{print $4}"'''
:::*The script should contain the function called: '''free_space()'''
:::*The function '''free_space()''' should return a string which is in '''utf-8''' and has '''newline characters strip'''
13,420
edits

Navigation menu