Reading Files
Lesson 28Author : 🦒
Last Updated : October, 2017
Code
employee_file = open("employees.txt", "r")
for employee in employee_file.read_lines():
print(employee)
employee_file.close()
employee_file = open("employees.txt", "r")
for employee in employee_file.read_lines():
print(employee)
employee_file.close()