๐ Beginning Python Programming / Module: Files Operation
Reading and writing files
๐ Beginning Python Programming / Files Operation / Reading and writing files
with open('diary.txt', "r") as file_obj: # Read file into list of lines. lines = file_obj.readlines()