본문 바로가기

리디 접속이 원활하지 않습니다.
강제 새로 고침(Ctrl + F5)이나 브라우저 캐시 삭제를 진행해주세요.
계속해서 문제가 발생한다면 리디 접속 테스트를 통해 원인을 파악하고 대응 방법을 안내드리겠습니다.
테스트 페이지로 이동하기

[체험판] Tkinter GUI Programming By Example 상세페이지

리디 info

* 이 책은 본권의 일부를 무료로 제공하는 체험판입니다.
* 본권 구입을 원하실 경우, [이 책의 시리즈]→[책 선택] 후 구매해주시기 바랍니다.


[체험판] Tkinter GUI Programming By Example작품 소개

<[체험판] Tkinter GUI Programming By Example> ▶Book Description
Tkinter is a modular, cross-platform application development toolkit for Python. When developing GUI-rich applications, the most important choices are which programming language(s) and which GUI framework to use. Python and Tkinter prove to be a great combination. This book will get you familiar with Tkinter by having you create fun and interactive projects. These projects have varying degrees of complexity. We'll start with a simple project, where you'll learn the fundamentals of GUI programming and the basics of working with a Tkinter application. After getting the basics right, we'll move on to creating a project of slightly increased complexity, such as a highly customizable Python editor. In the next project, we'll crank up the complexity level to create an instant messaging app. Toward the end, we'll discuss various ways of packaging our applications so that they can be shared and installed on other machines without the user having to learn how to install and run Python programs.

▶What You Will Learn
⦁ Create a scrollable frame via theCanvas widget
⦁ Use the pack geometry manager andFrame widget to control layout
⦁ Learn to choose a data structurefor a game
⦁ Group Tkinter widgets, such asbuttons, canvases, and labels
⦁ Create a highly customizablePython editor
⦁ Design and lay out a chat window

▶Key Features
⦁ The fundamentals of Python and GUI programming with Tkinter.
⦁ Create multiple cross-platform projects by integrating a host of third-party libraries and tools.
⦁ Build beautiful and highly-interactive user interfaces that target multiple devices.

▶Who This Book Is For
This book is for beginners to GUI programming who haven’t used Tkinter yet and are eager to start building great-looking and user-friendly GUIs. Prior knowledge of Python programming is expected.

▶What this book covers
⦁ Chapter 1, Meet Tkinter, introduces us to the Tkinter library itself. We will look at ensuring that it is installed, how to use its widget system, and how to display widgets inside a window. Once the basics are down, we will have a play with some of the easier widgets, including using a Label widget to display text and a Button widget to provide interactivity.

⦁ Chapter 2, Back to the Command Line –. Basic Blackjack, has us return to our roots as Python programmers and create a command-line only version of blackjack. This will get us up to speed with the common situation where we a command-line application, which we want to convert to a nicer interface. We will also discuss Python's class system and how to structure an application for conversion to a graphical interface.

⦁ Chapter 3, Jack is Back in Style –. the Blackjack GUI, starts off the process of converting command-line blackjack to a graphical application. We will learn about the powerful Canvas widget and how we can use it to draw both shapes and images on the user's screen. This chapter will end with us having a working game of blackjack with a graphical interface.

⦁ Chapter 4, The Finishing Touches –. Sound and Animation, teaches how to use the Canvas widget to create animations, which we will use to spruce up our game of blackjack. Of course, animations wouldn't be complete without accompanying sounds, so we will also have a look at how to play sound effects.

⦁ Chapter 5, Creating a Highly Customizable Python Editor, begins our second application, a text editor. We explore Tkinter's Text widget and its capabilities for handling events. We will also look at the themed widgets, which come with Tkinter in its ttk module, giving our applications a much more professional look.

⦁ Chapter 6, Color Me Impressed! –. Adding Syntax Highlighting, covers how we can use Tkinter's tag system to affect different parts of certain widgets. We will be taking advantage of this system to add syntax highlighting for the Python language to our text editor. We will also explore the indexing system, which Tkinter uses to locate items inside some of its widgets.

⦁ Chapter 7, Not Just for Restaurants –. All about Menus, teaches how we can add different types of menu to our applications—.from the top menu bar that most applications have, to right-click context menus.

⦁ Chapter 8, Talk Python to Me –. a Chat Application, begins our third and final application, an online instant messenger. We will learn how to plan the layout for a more complicated application, then piece together all of the different components needed for a chat program. We will also learn how to combine images and text by implementing smileys into the chat.

⦁ Chapter 9, Connecting –. Getting our Chat Application Online, explains how we can use web technologies, including flask, requests, and sqlite3, to get desktop GUI applications communicating with the internet.

⦁ Chapter 10, Making Friends –. Finishing our Chat Application, covers adding a friend's system and blocking system to improve socializing within our application. We will also learn how to manipulate images in Python using PIL by introducing user avatars. We will also learn why threads are great for computationally expensive or repeated tasks inside a GUI application.

⦁ Chapter 11, Wrapping Up –. Packaging our Applications to Share, finishes off the book by briefly covering some widgets, which we did not get the opportunity to use in our three example application. Afterward, we will look at packaging a Python and Tkinter application up for distribution among users of the three biggest desktop operating systems, Windows, Linux, and macOS.



출판사 서평

▶Editorial Review
Welcome to Tkinter GUI Programming by Example. We will be exploring how to use the Tkinter library, which is included alongside most Python installs. This framework is very simple to use, and has a powerful event-handling system and an open license, perfect for anyone who wishes to quickly write and share graphical applications.

Throughout this book, we will be creating three powerful desktop applications, learning about the variety of widgets available in Tkinter. After we have these applications polished, we will then learn how to share them with other people by packaging them up for sharing. When you have finished this book, you will have in-depth knowledge of Tkinter, its widgets, GUI-design principles, and packaging Python projects.


저자 소개

⦁ David Love
David Love is a web developer from Kent, England. He has worked on a multitude of different systems over his career. Programming languages in his arsenal include Python, PHP, and JavaScript. He is well-trained in Linux server management and its relevant technologies, including MySQL, PostgreSQL, NGINX, and supervisor.

David has written an e-book called Tkinter By Example, which is available for free under a Creative Commons licenses and maintains an ever-growing blog post named The Tkinter Cookbook, full of small examples on how to perform some specific tasks.

목차

▶TABLE of CONTENTS
1: MEET TKINTER
2: BACK TO THE COMMAND LINE – BASIC BLACKJACK
3: JACK IS BACK IN STYLE – THE BLACKJACK GUI
4: THE FINISHING TOUCHES – SOUND AND ANIMATION
5: CREATING A HIGHLY CUSTOMIZABLE PYTHON EDITOR
6: COLOR ME IMPRESSED! – ADDING SYNTAX HIGHLIGHTING
7: NOT JUST FOR RESTAURANTS – ALL ABOUT MENUS
8: TALK PYTHON TO ME – A CHAT APPLICATION
9: CONNECTING – GETTING OUR CHAT CLIENT ONLINE
10: MAKING FRIENDS – FINISHING OUR CHAT APPLICATION
11: WRAPPING UP – PACKAGING OUR APPLICATIONS TO SHARE


리뷰

구매자 별점

0.0

점수비율
  • 5
  • 4
  • 3
  • 2
  • 1

0명이 평가함

리뷰 작성 영역

이 책을 평가해주세요!

내가 남긴 별점 0.0

별로예요

그저 그래요

보통이에요

좋아요

최고예요

별점 취소

구매자 표시 기준은 무엇인가요?

'구매자' 표시는 리디에서 유료도서 결제 후 다운로드 하시거나 리디셀렉트 도서를 다운로드하신 경우에만 표시됩니다.

무료 도서 (프로모션 등으로 무료로 전환된 도서 포함)
'구매자'로 표시되지 않습니다.
시리즈 도서 내 무료 도서
'구매자’로 표시되지 않습니다. 하지만 같은 시리즈의 유료 도서를 결제한 뒤 리뷰를 수정하거나 재등록하면 '구매자'로 표시됩니다.
영구 삭제
도서를 영구 삭제해도 ‘구매자’ 표시는 남아있습니다.
결제 취소
‘구매자’ 표시가 자동으로 사라집니다.

이 책과 함께 구매한 책


이 책과 함께 둘러본 책



본문 끝 최상단으로 돌아가기

spinner
모바일 버전