Download WxPython Application Development Cookbook by Cody Precord PDF

Posted by

By Cody Precord

Key Features

This booklet empowers you to create wealthy cross-platform graphical consumer interfaces utilizing Python
It is helping you advance purposes that may be deployed on home windows, OSX, and Linux
The recipes within the ebook contain real-world functions, providing you with a first-hand event of the sensible scenarios

Book Description

wxPython is a GUI toolkit for the Python programming language equipped on best of the cross-platform wxWidgets GUI libraries. wxPython offers a robust set of instruments that let you speedy and successfully development purposes which may run on various assorted structures. in view that wxWidgets offers a wrapper round each one platform's local GUI toolkit, the functions outfitted with wxPython may have a local feel and appear at any place they're deployed.

This publication offers you the talents to construct hugely useful and local taking a look person interfaces for Python purposes on a number of working procedure environments. by way of operating throughout the recipes, you are going to achieve insights into and publicity to making purposes utilizing wxPython. With a variety of subject matters coated within the publication, there are recipes to get the main simple of rookies begun in GUI programming in addition to tips on how to support skilled clients get extra out in their purposes. The recipes will take you from the main easy program constructs all through to the deployment of entire applications.
What you'll learn

Create complete featured person interfaces
layout and increase customized controls
set up and distribute wxPython purposes to home windows, Macintosh OS X, Linux, and different UNIX-like environments
deal with and reply to software events
deal with and exhibit facts utilizing grids
engage with internet providers out of your GUI
Use Paint occasions to attract customized displays
aid the exhibit of consumer interfaces in a number of languages

About the Author

Cody Precord is a software program engineer dependent in Minneapolis, MN, united states. He designs and writes platforms and alertness software program for home windows, AIX, Linux, and Macintosh OS X utilizing essentially C++, C#, C, Perl, Bash, and Python. The consistent desire for engaged on a number of systems clearly led Cody to the wxPython toolkit, which he has used for a number of years. he's the writer of wxPython 2.8 program improvement Cookbook, Packt Publishing and has additionally contributed to the improvement of the wxPython library. Cody is drawn to selling go platform improvement practices and enhancing usability in software.
Table of Contents

wxPython beginning Points
universal person Controls
UI structure and Organization
bins and complex Controls
info screens and Grids
how one can Notify and Alert
inquiring for and Retrieving Information
person Interface Primitives
developing and Customizing Components
Getting Your software prepared for Release

Show description

Read or Download WxPython Application Development Cookbook PDF

Best python books

Pro Python System Administration

As time is going on, process directors are awarded with more and more complex demanding situations. within the early days, a workforce of engineers may need needed to take care of one or platforms. nowadays, one engineer can administer countless numbers or millions of systems.

System directors are progressively changing their instruments with extra complex and versatile ones. one of many offerings is Python. Structurally, Python is a contemporary, high-level language with a really fresh syntax. Python comes with many integrated libraries which could make automation initiatives more uncomplicated. It additionally has vast set of third-party libraries and a really energetic improvement neighborhood. this pliability makes Python a sensible choice for a large choice of initiatives, from prototyping technological know-how functions to method upkeep and management jobs.
* This publication explains and exhibits the best way to follow Python scripting in perform. in contrast to the vast majority of the Python books, it's going to enable you to process and unravel real-world concerns that almost all process directors will come upon of their careers.
* during this publication, you can find a number of tasks within the different types of community management, net server management, and tracking and database administration. In every one venture, we are going to outline the matter, layout the answer, and battle through the extra attention-grabbing implementation steps.
* every one undertaking is followed with the resource code of an absolutely operating prototype, which you’ll be capable to use instantly or adapt on your standards and surroundings.
<h3>What you’ll learn</h3> * remedy real-world method management difficulties utilizing Python.
* deal with units with SNMP and cleaning soap.
* construct a disbursed tracking process.
* deal with net functions and parse advanced log documents.
* instantly computer screen and deal with MySQL databases.
<h3>Who this booklet is for</h3>
This publication is basically aimed toward skilled process directors whose day by day initiatives contain taking care of and dealing with small-to-medium-sized server estates. it's going to even be necessary for approach directors who are looking to study extra approximately automation and wish to use their Python wisdom to unravel quite a few procedure management problems.

Python builders also will reap the benefits of analyzing this e-book, specially in the event that they are curious about constructing automation and administration tools.

This ebook assumes that readers already use Python and are pleased with the language. many of the Linux distributions include Python and numerous libraries (such as Django, PIL and SciPy) packaged and on hand, yet simple wisdom of putting in programs in a Linux/Unix atmosphere is advised.
<h3>Table of Contents</h3>
<ol> *  Reading and gathering functionality information utilizing SNMP1 
* coping with units utilizing the cleaning soap API  
* making a internet software for IP tackle Accountancy   
* Integrating the IP tackle software with DHCP 
* retaining a listing of digital Hosts in an Apache Configuration File   
* amassing and providing Statistical information from Apache Log Files  
* appearing advanced Searches and Reporting on program Log Files   
* a website Availability fee Script for Nagios  
* administration and tracking Subsystem  
* distant tracking Agents 
* facts accumulating and Reporting   
* automated MySQL Database functionality Tuning  
* utilizing Amazon EC2/S3 as an information Warehouse answer
</ol>

Python Hacking Essentials

This ebook isn't for pro hackers. in its place, this e-book is made for novices who've programming event and have an interest in hacking. the following, hacking innovations that may be simply understood were defined. for those who simply have a house workstation, you could attempt the entire examples supplied right here. i've got integrated many figures which are intuitively comprehensible instead of a litany of causes.

Twisted Network Programming Essentials

I purchased this booklet simply because i used to be having hassle making experience out of the Twisted online documentation. i am rather a ebook man, besides, and felt i wanted "The booklet" for Twisted. whilst the 1st web page an identical of "Hello global" blows up on Python 2. 6 as a result of a few imprecise deprecation factor, you recognize you're in for actual difficulties.

A Byte of Python

‘A Byte of Python’ is a loose e-book on programming utilizing the Python language. It serves as an educational or advisor to the Python language for a newbie viewers. If all you recognize approximately pcs is find out how to shop textual content documents, then this is often the publication for you. This ebook is written for the newest Python three, even supposing Python 2 is the generally stumbled on model of Python at the present time (read extra approximately it in Python 2 as opposed to three section).

Extra info for WxPython Application Development Cookbook

Sample text

44 3 UI Layout and Organization In this chapter, we will cover: ff Laying out controls with Sizers ff Controlling layout behavior ff Grouping controls with a StaticBox control ff Creating an automatic wrapping layout ff Using the standard dialog button sizer ff Simplifying the panel layout ff Making dialog layout easy ff Building XML resource-based layouts ff Extending XRC for custom controls ff Advancing your UI with AuiManager Introduction Understanding how to use various controls and putting them to work in your application is just part of the equation in developing a user interface.

PB_STYLE_TOGGLE This causes a button to operate like a ToggleButton control and generates EVT_TOGGLEBUTTON events instead of regular button events when clicked on. 24 This is the default style, as shown in the preceding example, with solid highlight color and rounded edges. Chapter 2 Offering options with CheckBoxes The CheckBox control in its usual configuration is similar to a type of binary input; it is either checked or not checked. So, as such, it is often used to offer selection options to "yes/ no" questions in a user interface, such as an option to enable or disable a feature in an application's configuration screen.

This area generates a separate EVT_PLATEBTN_DROPARROW_PRESSED event when clicked on. PB_STYLE_TOGGLE This causes a button to operate like a ToggleButton control and generates EVT_TOGGLEBUTTON events instead of regular button events when clicked on. 24 This is the default style, as shown in the preceding example, with solid highlight color and rounded edges. Chapter 2 Offering options with CheckBoxes The CheckBox control in its usual configuration is similar to a type of binary input; it is either checked or not checked.

Download PDF sample

Rated 4.38 of 5 – based on 30 votes