Skip to content

Commit c37ca12

Browse files
updated errata
1 parent 9e9c746 commit c37ca12

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

errata.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Errata, Corrections and Improvements
2+
----------------------------------------------------
3+
If you find any mistakes in the second edition of Python GUI Programming with Tkinter, or if you have suggestions for improvements, then please [raise an issue in this repository](https://github.com/PacktPublishing/Python-GUI-Programming-with-Tkinter-2E/issues), or email to us.
4+
5+
## Chapter01, Page 8 - Adding the missing alias name `tk` in the code lines
6+
7+
Incorrect code is:
8+
```
9+
root = Tk()
10+
11+
label = Label(root, text="Hello World")
12+
```
13+
Correct code is:
14+
```
15+
root = tk.Tk()
16+
17+
label = tk.Label(root, text="Hello World")
18+
```
19+
You can find this code correct in the file here: `Chapter01/hello_tkinter.py`

0 commit comments

Comments
 (0)