April 2017
Beginner to intermediate
312 pages
7h 23m
English
Perform the following steps in order to write to a file:
file = open('write_file.txt', 'w')
file.write('I am excited to learn Python using Raspberry Pi Zero')
if __name__ == "__main__": # open text file to write file = open('write_file.txt', 'w') # write a line from the file file.write('I am excited ...Read now
Unlock full access