From 7ca352a8f61c73ea5c051de678b81c501f1323cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Wed, 30 Jan 2019 06:28:12 +0100 Subject: [PATCH] Open --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 73066a0..d9ba692 100644 --- a/README.md +++ b/README.md @@ -854,14 +854,14 @@ while True: * `'t'` - text mode (default) * `'+'` - open a disk file for updating (reading and writing) -#### Read Text File: +#### Read Text from File: ```python def read_file(filename): with open(filename, encoding='utf-8') as file: return file.readlines() ``` -#### Write to Text File: +#### Write Text to File: ```python def write_to_file(filename, text): with open(filename, 'w', encoding='utf-8') as file: