From CDOT Wiki
Jump to: navigation, search

OPS435 Python Lab 1

16 bytes added, 08:48, 9 September 2017
= Lab Review 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 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 Python code that when run, will perform the following tasks:<ol type="a"><li>Contain a she-bang line</li><li>Display a greetings message to the user</li><li>display an empty line ('''hint:''' use the special character '''\n''' to print the a new-line character)</li><li>Display text, '''"Your current directory is:"''' (You are NOT required to display quotation marks)</li><li>Display the current working directory pathname (using an appropriate command)</li><li>Display another empty line</li></ol>

Navigation menu