diff --git a/testlines.py b/testlines.py index b14e5b2c5b5..4504d734dcf 100644 --- a/testlines.py +++ b/testlines.py @@ -9,11 +9,11 @@ # Description : This very simple script open a file and prints out 100 lines of whatever is set for the line variableest you want to print\n" # This sets the variable for the text that you want to print -def write_to_file(filename,txt): - with open(filename,'w') as file_object: +def write_to_file(filename, txt): + with open(filename, 'w') as file_object: s = file_object.write(txt) if __name__ == '__main__': - write_to_file('test.txt', 'i am beven') + write_to_file('test.txt', 'I am beven')