From 38d311ae481a813857e50dea163ae80e2923d02f Mon Sep 17 00:00:00 2001 From: Martin Georgiyashev Date: Sat, 22 Aug 2026 16:08:35 +0300 Subject: [PATCH] Fix filename in Python file reading example --- lectures/python_essentials.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lectures/python_essentials.md b/lectures/python_essentials.md index ab8a4a84..3f5a4874 100644 --- a/lectures/python_essentials.md +++ b/lectures/python_essentials.md @@ -310,7 +310,7 @@ Recall that Python maintains a concept of the present working directory (pwd) th If a path is not specified, then this is where Python writes to. -We can also use Python to read the contents of `newline.txt` as follows +We can also use Python to read the contents of `newfile.txt` as follows ```{code-cell} python3 f = open('newfile.txt', 'r') @@ -1092,4 +1092,4 @@ n = 100 ``` ```{solution-end} -``` \ No newline at end of file +```