Open main menu

CDOT Wiki β

Changes

OPS445 Online Lab7

166 bytes removed, 11:38, 10 March 2022
m
Part 1 - Simple Object Class with external functions
</source>
:'''Perform the following steps:'''
:1. [https://ict.senecacollege.ca/~eric.brauer/ops445/labs/lab7/lab7a.py Download] or create Create the above Pythone script '''lab7a.py''' in your ~/ops445/lab7 directory. :2. [https://ict.senecacollege.ca/~eric.brauer/ops445/labs/lab7/lab7a1.py Download] or create Create a new Python script named '''lab7a1.py''' in the lab7 directory:<source lang="bash">
cd ~/ops445/lab7
vi ~/ops445/lab7/lab7a1.py
</source>
:3. [Place the following content inside the new python file '''lab7a1.py''' and save it:<source lang="python">
#!/usr/bin/env python3
# Student ID: [seneca_id]
572
edits