Changes

Jump to: navigation, search

OPS435 Python Lab 1

138 bytes added, 15:21, 6 September 2017
Lab Review
:# Write the command to change the hostname of your Linux machine to "centos7".
:# What is the purpose of git? How will git be used in our OPS435 course?
:# Write the pipeline command to check if the CheckLab1.py checking script exists, and download it from the location:<br>https://raw.githubusercontent.com/Seneca-CDOT/ops435/master/LabCheckScripts/CheckLab1.py
:# Write the command to create an alias for the Linux command vim which will be called vi in your ipython3 session.
:# Write the absolute pathname for the ipython3 alias configuration file.
:# Write the Python code that when run, will:<oltype="a"><li>Contain a she-bang line</li><li>Display a greatings greetings message to the user</li><li>display an empty line ('''hint: ''' use the special character '''\n ''' to print the new-line character</li><li>Display text, '''"Your current directory is:"''' (You are NOT required to display quotation marks)</li><li>issue a display Display the current working directorypathname (using an appropriate command)</li><li>Display another empty line</li><ul/ol>
:# How do you execute a Python script when you are within the ipython3 shell?
:# How do you execute a Python script when you are in the Bash Shell (i.e. NOT within the ipython3 shell)?
:# Write the pipeline command to check if the CheckLab1.py checking script exists, and download it from the location:<br>https://raw.githubusercontent.com/Seneca-CDOT/ops435/master/LabCheckScripts/CheckLab1.py

Navigation menu