diff --git a/file1.py b/file1.py new file mode 100644 index 0000000..4d4c656 --- /dev/null +++ b/file1.py @@ -0,0 +1,6 @@ +try: + my_file = open('test.txt', 'a+') + my_file.write('строчка\n') + my_file.close() +except Exception as ex: + print(ex) \ No newline at end of file