Skip to content

Commit 7a653ab

Browse files
authored
README file added
1 parent 87c75b7 commit 7a653ab

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

README.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Python GUI programming with Tkinter
2+
This is the code repository for [Python GUI programming with Tkinter](https://www.packtpub.com/application-development/python-gui-programming-tkinter?utm_source=github&utm_medium=repository&utm_campaign=9781788835886), published by [Packt](https://www.packtpub.com/?utm_source=github). It contains all the supporting project files necessary to work through the book from start to finish.
3+
## About the Book
4+
Tkinter is a lightweight, portable, and easy-to-use graphical toolkit available in the Python Standard Library, widely used to build Python GUIs due to its simplicity and availability. This book teaches you to design and build graphical user interfaces that are functional, appealing, and user-friendly using the powerful combination of Python and Tkinter.
5+
6+
After being introduced to Tkinter, you will be guided step-by-step through the application development process. Over the course of the book, your application will evolve from a simple data-entry form to a complex data management and visualization tool while maintaining a clean and robust design. In addition to building the GUI, you'll learn how to connect to external databases and network resources, test your code to avoid errors, and maximize performance using asynchronous programming. You'll make the most of Tkinter's cross-platform availability by learning how to maintain compatibility, mimic platform-native look and feel, and build executables for deployment across popular computing platforms.
7+
## Instructions and Navigation
8+
All of the code is organized into folders. Each folder starts with a number followed by the application name. For example, Chapter02.
9+
10+
All code files are placed in their respective folders.
11+
12+
The code will look like the following:
13+
```
14+
def has_five_or_less_chars(string):
15+
return len(string) <= 5
16+
wrapped_function = root.register(has_five_or_less_chars)
17+
vcmd = (wrapped_function, '%P')
18+
five_char_input = ttk.Entry(root, validate='key', validatecommand=vcmd)
19+
```
20+
21+
This book expects that you know the basics of Python 3. You should know how to write
22+
and run simple scripts using built-in types and functions, how to define your own
23+
functions and classes, and how to import modules from the standard library.
24+
You can follow this book if you run Windows, macOS, Linux, or even BSD. Ensure that you
25+
have Python 3 and Tcl/Tk installed (Chapter 1, Introduction to Tkinter, contains instructions
26+
for Windows, macOS, and Linux) and that you have an editing environment with which
27+
you are comfortable (we suggest IDLE since it comes with Python and uses Tkinter). In the
28+
later chapters, you'll need access to the internet so that you can install Python packages and
29+
the PostgreSQL database.
30+
31+
## Related Products
32+
* [Tkinter GUI Application Development Cookbook](https://www.packtpub.com/web-development/tkinter-gui-application-development-cookbook?utm_source=github&utm_medium=repository&utm_campaign=9781788622301)
33+
34+
* [Tkinter GUI Application Development Blueprints - Second Edition](https://www.packtpub.com/application-development/tkinter-gui-application-development-blueprints-second-edition?utm_source=github&utm_medium=repository&utm_campaign=9781788837460)
35+
36+
* [Tkinter GUI Application Development Blueprints](https://www.packtpub.com/application-development/tkinter-gui-application-development-blueprints?utm_source=github&utm_medium=repository&utm_campaign=9781785889738)
37+
38+

0 commit comments

Comments
 (0)