Open main menu

CDOT Wiki β

Changes

OPS245 Lab 1

4 bytes added, 08:42, 14 September 2021
m
INVESTIGATION 4: Using Python Scripting to Generate System Information Reports
</li>
<li>Save your script and run it. Does it work?</li>
<li>You'll notice that the python script is currently sending its output to your terminal. Since we haven't covered how to write to a file yet, this is ok for now. Just use output redirection on the command line when you run the script to send the output to '''~/bin/pythonreport.txt'''.</li>
<li>Add the extra commands for your python script to also output (with appropriate headings):
<ul>
572
edits