舉報

會員
Python GUI Programming Cookbook
Burkhard A. Meier 著
更新時間:2021-07-30 10:08:51
開會員,本書免費讀 >
最新章節:
Index
IfyouareaPythonprogrammerwithintermediatelevelknowledgeofGUIprogrammingandwanttolearnhowtocreatebeautiful,effective,andresponsiveGUIsusingthefreelyavailablePythonGUIframeworks,thisbookisforyou.
最新章節
- Index
- Avoiding complexity
- How to use design patterns successfully
- When not to use OOP
- Using a code naming convention
- Mixing fall-down and OOP coding
品牌:中圖公司
上架時間:2021-07-30 09:45:33
出版社:Packt Publishing
本書數字版權由中圖公司提供,并由其授權上海閱文信息技術有限公司制作發行
- Index 更新時間:2021-07-30 10:08:51
- Avoiding complexity
- How to use design patterns successfully
- When not to use OOP
- Using a code naming convention
- Mixing fall-down and OOP coding
- Using __init__ to connect modules
- Avoiding spaghetti code
- Introduction
- Chapter 11. Best Practices
- Creating a slideshow using tkinter
- Our GUI in amazing colors
- PyGLet transforms our GUI more easily than PyOpenGL
- Using bitmaps to make our GUI pretty
- Our GUI in 3D!
- PyOpenGL transforms our GUI
- Introduction
- Chapter 10. Creating Amazing 3D GUIs with PyOpenGL and PyGLet
- How to communicate between the two connected GUIs
- How to use Python to control two different GUI frameworks
- Trying to embed our tkinter GUI code into wxPython
- Trying to embed a main wxPython app in a main tkinter app
- Quickly adding controls using wxPython
- How to create our GUI in wxPython
- How to install the wxPython library
- Introduction
- Chapter 9. Extending Our GUI with the wxPython Library
- How to write unit tests using the Eclipse PyDev IDE
- Creating robust GUIs using unit tests
- Creating self-testing code using Python's __main__ section
- Configuring different debug output levels
- Setting debug watches
- Do we need to test the GUI code?
- How to design a GUI in an agile fashion
- Preparing the GUI for internationalization
- Localizing the GUI
- Changing the entire GUI language all at once
- Displaying widget text in different languages
- Introduction
- Chapter 8. Internationalization and Testing
- Storing and retrieving data from our MySQL database
- Using the SQL DELETE command
- Using the SQL UPDATE command
- Using the SQL INSERT command
- Designing the Python GUI database
- Configuring the MySQL connection
- Connecting to a MySQL database from Python
- Introduction
- Chapter 7. Storing Data in Our MySQL Database via Our GUI
- Using URLOpen to read data from websites
- Using TCP/IP to communicate via networks
- Using dialog widgets to copy files to your network
- Passing queues among different modules
- How to use queues
- Stopping a thread
- Starting a thread
- How to create multiple threads
- Introduction
- Chapter 6. Threads and Networking
- Adjusting the scale of charts dynamically
- Scaling charts
- How to give the chart a legend
- Placing labels on charts
- Creating our first chart
- Matplotlib – downloading modules with whl extensions
- Matplotlib – downloading modules using pip
- Creating beautiful charts using Matplotlib
- Introduction
- Chapter 5. Matplotlib Charts
- Creating reusable GUI components
- Writing callback functions
- How coding in classes can improve the GUI
- Using module-level global variables
- How to get data from a widget
- How to use StringVar()
- Introduction
- Chapter 4. Data and Classes
- How to use the canvas widget
- Creating tooltips using Python
- Relief sunken and raised appearance of widgets
- Using a spin box control
- Changing the icon of the main root window
- How to create the title of a tkinter window form
- How to create independent message boxes
- Creating message boxes – information warning and error
- Introduction
- Chapter 3. Look and Feel Customization
- Using the grid layout manager
- Creating tabbed widgets
- Creating menu bars
- Aligning the GUI widgets by embedding frames within frames
- How widgets dynamically expand the GUI
- Using padding to add space around widgets
- Arranging several labels within a label frame widget
- Introduction
- Chapter 2. Layout Management
- Adding several widgets in a loop
- Using scrolled text widgets
- Using radio button widgets
- Creating a check button with different initial states
- Combo box widgets
- Setting the focus to a widget and disabling widgets
- Text box widgets
- Creating buttons and changing their text property
- Adding a label to the GUI form
- Preventing the GUI from being resized
- Creating our first Python GUI
- Introduction
- Chapter 1. Creating the GUI Form and Adding Widgets
- Customer support
- Reader feedback
- Conventions
- Who this book is for
- What you need for this book
- What this book covers
- Preface
- Support files eBooks discount offers and more
- www.PacktPub.com
- About the Reviewers
- About the Author
- Credits
- 版權頁
- 封面
- 封面
- 版權頁
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Support files eBooks discount offers and more
- Preface
- What this book covers
- What you need for this book
- Who this book is for
- Conventions
- Reader feedback
- Customer support
- Chapter 1. Creating the GUI Form and Adding Widgets
- Introduction
- Creating our first Python GUI
- Preventing the GUI from being resized
- Adding a label to the GUI form
- Creating buttons and changing their text property
- Text box widgets
- Setting the focus to a widget and disabling widgets
- Combo box widgets
- Creating a check button with different initial states
- Using radio button widgets
- Using scrolled text widgets
- Adding several widgets in a loop
- Chapter 2. Layout Management
- Introduction
- Arranging several labels within a label frame widget
- Using padding to add space around widgets
- How widgets dynamically expand the GUI
- Aligning the GUI widgets by embedding frames within frames
- Creating menu bars
- Creating tabbed widgets
- Using the grid layout manager
- Chapter 3. Look and Feel Customization
- Introduction
- Creating message boxes – information warning and error
- How to create independent message boxes
- How to create the title of a tkinter window form
- Changing the icon of the main root window
- Using a spin box control
- Relief sunken and raised appearance of widgets
- Creating tooltips using Python
- How to use the canvas widget
- Chapter 4. Data and Classes
- Introduction
- How to use StringVar()
- How to get data from a widget
- Using module-level global variables
- How coding in classes can improve the GUI
- Writing callback functions
- Creating reusable GUI components
- Chapter 5. Matplotlib Charts
- Introduction
- Creating beautiful charts using Matplotlib
- Matplotlib – downloading modules using pip
- Matplotlib – downloading modules with whl extensions
- Creating our first chart
- Placing labels on charts
- How to give the chart a legend
- Scaling charts
- Adjusting the scale of charts dynamically
- Chapter 6. Threads and Networking
- Introduction
- How to create multiple threads
- Starting a thread
- Stopping a thread
- How to use queues
- Passing queues among different modules
- Using dialog widgets to copy files to your network
- Using TCP/IP to communicate via networks
- Using URLOpen to read data from websites
- Chapter 7. Storing Data in Our MySQL Database via Our GUI
- Introduction
- Connecting to a MySQL database from Python
- Configuring the MySQL connection
- Designing the Python GUI database
- Using the SQL INSERT command
- Using the SQL UPDATE command
- Using the SQL DELETE command
- Storing and retrieving data from our MySQL database
- Chapter 8. Internationalization and Testing
- Introduction
- Displaying widget text in different languages
- Changing the entire GUI language all at once
- Localizing the GUI
- Preparing the GUI for internationalization
- How to design a GUI in an agile fashion
- Do we need to test the GUI code?
- Setting debug watches
- Configuring different debug output levels
- Creating self-testing code using Python's __main__ section
- Creating robust GUIs using unit tests
- How to write unit tests using the Eclipse PyDev IDE
- Chapter 9. Extending Our GUI with the wxPython Library
- Introduction
- How to install the wxPython library
- How to create our GUI in wxPython
- Quickly adding controls using wxPython
- Trying to embed a main wxPython app in a main tkinter app
- Trying to embed our tkinter GUI code into wxPython
- How to use Python to control two different GUI frameworks
- How to communicate between the two connected GUIs
- Chapter 10. Creating Amazing 3D GUIs with PyOpenGL and PyGLet
- Introduction
- PyOpenGL transforms our GUI
- Our GUI in 3D!
- Using bitmaps to make our GUI pretty
- PyGLet transforms our GUI more easily than PyOpenGL
- Our GUI in amazing colors
- Creating a slideshow using tkinter
- Chapter 11. Best Practices
- Introduction
- Avoiding spaghetti code
- Using __init__ to connect modules
- Mixing fall-down and OOP coding
- Using a code naming convention
- When not to use OOP
- How to use design patterns successfully
- Avoiding complexity
- Index 更新時間:2021-07-30 10:08:51