Python - Programming Language
This course covers the basics of programming in Python. Work your way through the videos/articles and I'll teach you everything you need to know to start your programming journey!

Writing Files

Lesson 29
Author : Mike Dane
Last Updated : October, 2017


Code

Copyemployee_file = open("employees.txt", "w") # also try "a" for append

employee_file.write("\nKelly - Customer Service")

employee_file.close()