reine Buchbestellungen ab 5 Euro senden wir Ihnen Portofrei zuDiesen Artikel senden wir Ihnen ohne weiteren Aufpreis als PAKET

Programming Python 4e
(Englisch)
Powerful Object-Oriented Programming. Covers Python 3.x
Mark Lutz

60,45 €

inkl. MwSt. · Portofrei
Lieferzeit 6-7 Werktage
Menge:

Programming Python 4e

Seiten
Erscheinungsdatum
Auflage
Erscheinungsjahr
Sprache
Abbildungen
Hersteller
Kategorie
Buchtyp
Warengruppenindex
Warengruppe
Detailwarengruppe
Laenge
Breite
Hoehe
Dicke
Gewicht
Relevanz
Referenznummer
Verantwortlich für dieses Produkt
  • Smart Books
    ein Imprint der "dpunkt.verlag GmbH"
    Wieblinger Weg 17
    DE-69123 Heidelberg
    +49 6221 14830
    hallo@dpunkt.de
Moluna-Artikelnummer
  • 5940339

Produktbeschreibung

Once you've come to grips with the core Python language, learning how to build Python applications presents a far more interesting challenge. Many critics consider this classic book, now updated for Python 3.x, to be the industry standard tutorial for Python application programming.
If you've mastered Python's fundamentals, you're ready to start using it to get real work done. Programming Python will show you how, with in-depth tutorials on the language's primary application domains: system administration, GUIs, and the Web. You'll also explore how Python is used in databases, networking, front-endillegalscripting layers, text processing, and more. This book focuses on commonly used tools and libraries to give you a comprehensive understanding of Python's many roles in practical, real-world programming.nYou'll learn language syntax and programming techniques in a clear and concise manner, with lots of examples that illustrate both correct usage and common idioms. Completely updated for version 3.x, Programming Python also delves into the language as a software development tool, with many code examples scaled specifically for that purpose.nTopics include: Quick Python tour: Build a simple demo that includes data representation, object-oriented programming, object persistence, GUIs, and website basics System programming: Explore system interface tools and techniques for command-lineillegalscripting, processing files and folders, running programs in parallel, and more GUI programming: Learn to use Python's tkinter widget library Internet programming: Access client-side network protocols and email tools, use CGIillegalscripts, and learn website implementation techniques More ways to apply Python: Implement data structures, parse text-based information, interface with databases, and extend and embed Python
Mark Lutz is the world leader in Python training, the author of Python's earliest and best-selling texts, and a pioneering figure in the Python community since 1992. He is also the author of O'Reilly's Programming Python and Python Pocket Reference, and Learning Python (all in 4th Editions). Mark can be reached on the web at www.rmi.net/~lutz.

Über den Autor

Mark Lutz is the world leader in Python training, the author of Python's earliest and best-selling texts, and a pioneering figure in the Python community since 1992. He has been a software developer for 25 years, and is the author of O'Reilly's Programming Python, 3rd Edition and Python Pocket Reference, 3rd Edition.


Inhaltsverzeichnis

Preface;n "And Now for Something Completely Different...";n About This Book;n About This Fourth Edition;n What's Left, Then?;n Python 3.X Impacts on This Book;n Using Book Examples;n Contacting O'Reilly;n Conventions Used in This Book;n Acknowledgments;nThe Beginning;n Chapter 1: A Sneak Preview;n 1.1 "Programming Python: The Short Story";n 1.2 The Task;n 1.3 Step 1: Representing Records;n 1.4 Step 2: Storing Records Persistently;n 1.5 Step 3: Stepping Up to OOP;n 1.6 Step 4: Adding Console Interaction;n 1.7 Step 5: Adding a GUI;n 1.8 Step 6: Adding a Web Interface;n 1.9 The End of the Demo;nSystem Programming;n Chapter 2: System Tools;n 2.1 "The os.path to Knowledge";n 2.2 Systemillegalscripting Overview;n 2.3 Introducing the sys Module;n 2.4 Introducing the os Module;n Chapter 3:illegalscript Execution Context;n 3.1 "I'd Like to Have an Argument, Please";n 3.2 Current Working Directory;n 3.3 Command-Line Arguments;n 3.4 Shell Environment Variables;n 3.5 Standard Streams;n Chapter 4: File and Directory Tools;n 4.1 "Erase Your Hard Drive in Five Easy Steps!";n 4.2 File Tools;n 4.3 Directory Tools;n Chapter 5: Parallel System Tools;n 5.1 "Telling the Monkeys What to Do";n 5.2 Forking Processes;n 5.3 Threads;n 5.4 Program Exits;n 5.5 Interprocess Communication;n 5.6 The multiprocessing Module;n 5.7 Other Ways to Start Programs;n 5.8 A Portable Program-Launch Framework;n 5.9 Other System Tools Coverage;n Chapter 6: Complete System Programs;n 6.1 "The Greps of Wrath";n 6.2 A Quick Game of "Find the Biggest Python File";n 6.3 Splitting and Joining Files;n 6.4 Generating Redirection Web Pages;n 6.5 A Regression Testillegalscript;n 6.6 Copying Directory Trees;n 6.7 Comparing Directory Trees;n 6.8 Searching Directory Trees;n 6.9 Visitor: Walking Directories "++";n 6.10 Playing Media Files;n 6.11 Automated Program Launchers (External);nGUI Programming;n Chapter 7: Graphical User Interfaces;n 7.1 "Here's Looking at You, Kid";n 7.2 Python GUI Development Options;n 7.3 tkinter Overview;n 7.4 Climbing the GUI Learning Curve;n 7.5 tkinter Coding Alternatives;n 7.6 Adding Buttons and Callbacks;n 7.7 Adding User-Defined Callback Handlers;n 7.8 Adding Multiple Widgets;n 7.9 Customizing Widgets with Classes;n 7.10 Reusable GUI Components with Classes;n 7.11 The End of the Tutorial;n 7.12 Python/tkinter for Tcl/Tk Converts;n Chapter 8: A tkinter Tour, Part 1;n 8.1 "Widgets and Gadgets and GUIs, Oh My!";n 8.2 Configuring Widget Appearance;n 8.3 Top-Level Windows;n 8.4 Dialogs;n 8.5 Binding Events;n 8.6 Message and Entry;n 8.7 Checkbutton, Radiobutton, and Scale;n 8.8 Running GUI Code Three Ways;n 8.9 Images;n 8.10 Viewing and Processing Images with PIL;n Chapter 9: A tkinter Tour, Part 2;n 9.1 "On Today's Menu: Spam, Spam, and Spam";n 9.2 Menus;n 9.3 Listboxes and Scrollbars;n 9.4 Text;n 9.5 Canvas;n 9.6 Grids;n 9.7 Time Tools, Threads, and Animation;n 9.8 The End of the Tour;n Chapter 10: GUI Coding Techniques;n 10.1 "Building a Better Mousetrap";n 10.2 GuiMixin: Common Tool Mixin Classes;n 10.3 GuiMaker: Automating Menus and Toolbars;n 10.4 ShellGui: GUIs for Command-Line Tools;n 10.5 GuiStreams: Redirecting Streams to Widgets;n 10.6 Reloading Callback Handlers Dynamically;n 10.7 Wrapping Up Top-Level Window Interfaces;n 10.8 GUIs, Threads, and Queues;n 10.9 More Ways to Add GUIs to Non-GUI Code;n 10.10 The PyDemos and PyGadgets Launchers;n Chapter 11: Complete GUI Programs;n 11.1 "Python, Open Source, and Camaros";n 11.2 PyEdit: A Text Editor Program/Object;n 11.3 PyPhoto: An Image Viewer and Resizer;n 11.4 PyView: An Image and Notes Slideshow;n 11.5 PyDraw: Painting and Moving Graphics;n 11.6 PyClock: An Analog/Digital Clock Widget;n 11.7 PyToe: A Tic-Tac-Toe Game Widget;n 11.8 Where to Go from Here;nInternet Programming;n Chapter 12: Networkillegalscripting;n 12.1 "Tune In, Log On, and Drop Out";n 12.2 Python Internet Development Options;n 12.3 Plumbing the Internet;n 12.4 Socket Programming;n 12.5 Handling Multiple Clients;n 12.6 Making Sockets Look Like Files and Streams;n 12.7 A Simple Python File Server;n Chapter 13: Client-Sideillegalscripting;n 13.1 "Socket to Me!";n 13.2 FTP: Transferring Files over the Net;n 13.3 Transferring Files with ftplib;n 13.4 Transferring Directories with ftplib;n 13.5 Transferring Directory Trees with ftplib;n 13.6 Processing Internet Email;n 13.7 POP: Fetching Email;n 13.8 SMTP: Sending Email;n 13.9 email: Parsing and Composing Mail Content;n 13.10 A Console-Based Email Client;n 13.11 The mailtools Utility Package;n 13.12 NNTP: Accessing Newsgroups;n 13.13 HTTP: Accessing Websites;n 13.14 The urllib Package Revisited;n 13.15 Other Client-Sideillegalscripting Options;n Chapter 14: The PyMailGUI Client;n 14.1 "Use the Source, Luke";n 14.2 Major PyMailGUI Changes;n 14.3 A PyMailGUI Demo;n 14.4 PyMailGUI Implementation;n 14.5 Ideas for Improvement;n Chapter 15: Server-Sideillegalscripting;n 15.1 "Oh, What a Tangled Web We Weave";n 15.2 What's a Server-Side CGIillegalscript?;n 15.3 Running Server-Side Examples;n 15.4 Climbing the CGI Learning Curve;n 15.5 Saving State Information in CGIillegalscripts;n 15.6 The Hello World Selector;n 15.7 Refactoring Code for Maintainability;n 15.8 More on HTML and URL Escapes;n 15.9 Transferring Files to Clients and Servers;n Chapter 16: The PyMailCGI Server;n 16.1 "Things to Do When Visiting Chicago";n 16.2 The PyMailCGI Website;n 16.3 The Root Page;n 16.4 Sending Mail by SMTP;n 16.5 Reading POP Email;n 16.6 Processing Fetched Mail;n 16.7 Utility Modules;n 16.8 Webillegalscripting Trade-Offs;nTools and Techniques;n Chapter 17: Databases and Persistence;n 17.1 "Give Me an Order of Persistence, but Hold the Pickles";n 17.2 Persistence Options in Python;n 17.3 DBM Files;n 17.4 Pickled Objects;n 17.5 Shelve Files;n 17.6 The ZODB Object-Oriented Database;n 17.7 SQL Database Interfaces;n 17.8 ORMs: Object Relational Mappers;n 17.9 PyForm: A Persistent Object Viewer (External);n Chapter 18: Data Structures;n 18.1 "Roses Are Red, Violets Are Blue; Lists Are Mutable, and So Is Set Foo";n 18.2 Implementing Stacks;n 18.3 Implementing Sets;n 18.4 Subclassing Built-in Types;n 18.5 Binary Search Trees;n 18.6 Graph Searching;n 18.7 Permuting Sequences;n 18.8 Reversing and Sorting Sequences;n 18.9 PyTree: A Generic Tree Object Viewer;n Chapter 19: Text and Language;n 19.1 "See Jack Hack. Hack, Jack, Hack";n 19.2 Strategies for Processing Text in Python;n 19.3 String Method Utilities;n 19.4 Regular Expression Pattern Matching;n 19.5 XML and HTML Parsing;n 19.6 Advanced Language Tools;n 19.7 Custom Language Parsers;n 19.8 PyCalc: A Calculator Program/Object;n Chapter 20: Python/C Integration;n 20.1 "I Am Lost at C";n 20.2 Extending Python in C: Overview;n 20.3 A Simple C Extension Module;n 20.4 The SWIG Integration Code Generator;n 20.5 Wrapping C Environment Calls;n 20.6 Wrapping C++ Classes with SWIG;n 20.7 Other Extending Tools;n 20.8 Embedding Python in C: Overview;n 20.9 Basic Embedding Techniques;n 20.10 Registering Callback Handler Objects;n 20.11 Using Python Classes in C;n 20.12 Other Integration Topics;nThe End;n Chapter 21: Conclusion: Python and the Development Cycle;n 21.1 "That's the End of the Book, Now Here's the Meaning of Life";n 21.2 "Something's Wrong with the Way We Program Computers";n 21.3 The "Gilligan Factor";n 21.4 Doing the Right Thing;n 21.5 Enter Python;n 21.6 But What About That Bottleneck?;n 21.7 On Sinking the Titanic;n 21.8 "So What's Python?": The Sequel;n 21.9 In the Final Analysis...;nColophon;


Klappentext

If you've mastered Python's fundamentals, you're ready to start using it to get real work done. Programming Python will show you how, with in-depth tutorials on the language's primary application domains: system administration, GUIs, and the Web. You'll also explore how Python is used in databases, networking, front-endillegalscripting layers, text processing, and more. This book focuses on commonly used tools and libraries to give you a comprehensive understanding of Python’s many roles in practical, real-world programming.

You'll learn language syntax and programming techniques in a clear and concise manner, with lots of examples that illustrate both correct usage and common idioms. Completely updated for version 3.x, Programming Python also delves into the language as a software development tool, with many code examples scaled specifically for that purpose.

Topics include:
* Quick Python tour: Build a simple demo that includes data representation, object-oriented programming, object persistence, GUIs, and website basics
* System programming: Explore system interface tools and techniques for command-lineillegalscripting, processing files and folders, running programs in parallel, and more
* GUI programming: Learn to use Python’s tkinter widget library
* Internet programming: Access client-side network protocols and email tools, use CGIillegalscripts, and learn website implementation techniques
* More ways to apply Python: Implement data structures, parse text-based information, interface with databases, and extend and embed Python



Datenschutz-Einstellungen