Changes

Jump to: navigation, search

OPS435 Python Lab 1

427 bytes added, 07:27, 18 May 2017
Creating the introductory "Hello World" Script
====Creating the introductory "Hello World" Script====
Let's use You will learn to create a simple python script in this section. This python script will just print the text "hello world". The "hello world" an old traditional first program students usually are taught to create, which is based on the information we learned first programming example from the first C programming text co-written by Dennis Ritchie, the creator of the C programming language and Brian Kernighan. You will learn how to run the python script in the previous section ipython3 shell as well as learn how to create a simple Python run the python scriptfrom the bash shell.
:'''Perform the following steps:'''
:# Using a text editor, open a new text file called '''lab1a.py''':<source>
% vim ~/ops435/lab1/lab1a.py
</source>
:#Write the following code into our python file. <source>
13,420
edits

Navigation menu