Open main menu

CDOT Wiki β

Changes

OPS435 Python Lab 5

6 bytes added, 08:09, 9 September 2017
LAB REVIEW
= LAB REVIEW =
# What is the purpose of a '''file object'''?
# Write a Python command to '''open''' the text file called '''customers.txt''' for read-only operations.
# Write Python code to efficiently store the contents of the file in question #2 as a large string (including new-line characters) called '''customer-data'''.
13,420
edits