Librería Portfolio Librería Portfolio

Búsqueda avanzada

TIENE EN SU CESTA DE LA COMPRA

0 productos

en total 0,00 €

PROGRAMMING PYTHON 4E
Título:
PROGRAMMING PYTHON 4E
Subtítulo:
Autor:
LUTZ, M
Editorial:
O´REILLY
Año de edición:
2011
ISBN:
978-0-596-15810-1
Páginas:
1578
Disponibilidad:
Disponible
54,95 € -20,0% 43,96 €
Sinopsis

Table of Contents
The Beginning
Chapter 1 : A Sneak Preview
"Programming Python: The Short Storyö
The Task
Step 1: Representing Records
Step 2: Storing Records Persistently
Step 3: Stepping Up to OOP
Step 4: Adding Console Interaction
Step 5: Adding a GUI
Step 6: Adding a Web Interface
The End of the Demo
System Programming
Chapter 2 : System Tools
"The os.path to Knowledgeö
System Scripting Overview
Introducing the sys Module
Introducing the os Module
Chapter 3 : Script Execution Context
"I'd Like to Have an Argument, Pleaseö
Current Working Directory
Command-Line Arguments
Shell Environment Variables
Standard Streams
Chapter 4 : File and Directory Tools
"Erase Your Hard Drive in Five Easy Steps!ö
File Tools
Directory Tools
Chapter 5 : Parallel System Tools
"Telling the Monkeys What to Doö
Forking Processes
Threads
Program Exits
Interprocess Communication
The multiprocessing Module
Other Ways to Start Programs
A Portable Program-Launch Framework
Other System Tools Coverage
Chapter 6 : Complete System Programs
"The Greps of Wrathö
A Quick Game of "Find the Biggest Python Fileö
Splitting and Joining Files
Generating Redirection Web Pages
A Regression Test Script
Copying Directory Trees
Comparing Directory Trees
Searching Directory Trees
Visitor: Walking Directories "++ö
Playing Media Files
Automated Program Launchers (External)
GUI Programming
Chapter 7 : Graphical User Interfaces
"Here's Looking at You, Kidö
Python GUI Development Options
tkinter Overview
Climbing the GUI Learning Curve
tkinter Coding Alternatives
Adding Buttons and Callbacks
Adding User-Defined Callback Handlers
Adding Multiple Widgets
Customizing Widgets with Classes
Reusable GUI Components with Classes
The End of the Tutorial
Python/tkinter for Tcl/Tk Converts
Chapter 8 : A tkinter Tour, Part 1
"Widgets and Gadgets and GUIs, Oh My!ö
Configuring Widget Appearance
Top-Level Windows
Dialogs
Binding Events
Message and Entry
Checkbutton, Radiobutton, and Scale
Running GUI Code Three Ways
Images
Viewing and Processing Images with PIL
Chapter 9 : A tkinter Tour, Part 2
"On Today's Menu: Spam, Spam, and Spamö
Menus
Listboxes and Scrollbars
Text
Canvas
Grids
Time Tools, Threads, and Animation
The End of the Tour
Chapter 10 : GUI Coding Techniques
"Building a Better Mousetrapö
GuiMixin: Common Tool Mixin Classes
GuiMaker: Automating Menus and Toolbars
ShellGui: GUIs for Command-Line Tools
GuiStreams: Redirecting Streams to Widgets
Reloading Callback Handlers Dynamically
Wrapping Up Top-Level Window Interfaces
GUIs, Threads, and Queues
More Ways to Add GUIs to Non-GUI Code
The PyDemos and PyGadgets Launchers
Chapter 11 : Complete GUI Programs
"Python, Open Source, and Camarosö
PyEdit: A Text Editor Program/Object
PyPhoto: An Image Viewer and Resizer
PyView: An Image and Notes Slideshow
PyDraw: Painting and Moving Graphics
PyClock: An Analog/Digital Clock Widget
PyToe: A Tic-Tac-Toe Game Widget
Where to Go from Here
Internet Programming
Chapter 12 : Network Scripting
"Tune In, Log On, and Drop Outö
Python Internet Development Options
Plumbing the Internet
Socket Programming
Handling Multiple Clients
Making Sockets Look Like Files and Streams
A Simple Python File Server
Chapter 13 : Client-Side Scripting
"Socket to Me!ö
FTP: Transferring Files over the Net
Transferring Files with ftplib
Transferring Directories with ftplib
Transferring Directory Trees with ftplib
Processing Internet Email
POP: Fetching Email
SMTP: Sending Email
email: Parsing and Composing Mail Content
A Console-Based Email Client
The mailtools Utility Package
NNTP: Accessing Newsgroups
HTTP: Accessing Websites
The urllib Package Revisited
Other Client-Side Scripting Options
Chapter 14 : The PyMailGUI Client
"Use the Source, Lukeö
Major PyMailGUI Changes
A PyMailGUI Demo
PyMailGUI Implementation
Ideas for Improvement
Chapter 15 : Server-Side Scripting
"Oh, What a Tangled Web We Weaveö
What's a Server-Side CGI Script?
Running Server-Side Examples
Climbing the CGI Learning Curve
Saving State Information in CGI Scripts
The Hello World Selector
Refactoring Code for Maintainability
More on HTML and URL Escapes
Transferring Files to Clients and Servers
Chapter 16 : The PyMailCGI Server
"Things to Do When Visiting Chicagoö
The PyMailCGI Website
The Root Page
Sending Mail by SMTP
Reading POP Email
Processing Fetched Mail
Utility Modules
Web Scripting Trade-Offs
Tools and Techniques
Chapter 17 : Databases and Persistence
"Give Me an Order of Persistence, but Hold the Picklesö
Persistence Options in Python
DBM Files
Pickled Objects
Shelve Files
The ZODB Object-Oriented Database
SQL Database Interfaces
ORMs: Object Relational Mappers
PyForm: A Persistent Object Viewer (External)
Chapter 18 : Data Structures
"Roses Are Red, Violets Are Blue; Lists Are Mutable, and So Is Set Fooö
Implementing Stacks
Implementing Sets
Subclassing Built-in Types
Binary Search Trees
Graph Searching
Permuting Sequences
Reversing and Sorting Sequences
PyTree: A Generic Tree Object Viewer
Chapter 19 : Text and Language
"See Jack Hack. Hack, Jack, Hackö
Strategies for Processing Text in Python
String Method Utilities
Regular Expression Pattern Matching
XML and HTML Parsing
Advanced Language Tools
Custom Language Parsers
PyCalc: A Calculator Program/Object
Chapter 20 : Python/C Integration
"I Am Lost at Cö
Extending Python in C: Overview
A Simple C Extension Module
The SWIG Integration Code Generator
Wrapping C Environment Calls
Wrapping C++ Classes with SWIG
Other Extending Tools
Embedding Python in C: Overview
Basic Embedding Techniques
Registering Callback Handler Objects
Using Python Classes in C
Other Integration Topics
The End
Chapter 21 : Conclusion: Python and the Development Cycle
"That's the End of the Book, Now Here's the Meaning of Lifeö
"Something's Wrong with the Way We Program Computersö
The "Gilligan Factorö
Doing the Right Thing
Enter Python
But What About That Bottleneck?
On Sinking the Titanic
So What's "Python: The Sequelö?
In the Final Analysis.
Colophon