Programming in Python 3:A Complete Introduction to the Python Language - Mark Summerfield - 9780137129294 - Addison-Wesley (E) - Pearson Education Schweiz AG - Der Fachverlag fuer Bildungsmedien - 978-0-1371-2929-4
Home > Informatik > Addison-Wesley (E) > Programming in Python 3:A Complete Introduction to the Python Language

Programming in Python 3:A Complete Introduction to the Python Language

Seite senden! 

Grosses Bild
Titel:   Programming in Python 3:A Complete Introduction to the Python Language
Reihe:   Addison-Wesley
Autor:   Mark Summerfield
Verlag:   Addison-Wesley (E)
Einband:   Softcover
Auflage:   1
Sprache:   Englisch
Seiten:   552
Erschienen:   Dezember 2008
ISBN13:   9780137129294
ISBN10:   0-13-712929-7
Status:   Der Titel ist leider nicht mehr lieferbar. Sorry, This title is no longer available. Malheureusement ce titre est épuisé.
 
Ersatztitel:
ISBNTitelAuflageEinbandErscheintVerfügbarPreis
9780321680563 Programming in Python 3:A Complete Introduction to the Python Language 2 Softcover 11.2009
67.60

Programming in Python 3:A Complete Introduction to the Python Language

Description

Python 3 is the best version of the language yet: It is more powerful, convenient, consistent, and expressive than ever before. Now, leading Python programmer Mark Summerfield demonstrates how to write code that takes full advantage of Python 3's features and idioms. The first book written from a completely “Python 3” viewpoint, Programming in Python 3 brings together all the knowledge you need to write any program, use any standard or third-party Python 3 library, and create new library modules of your own.

 

Summerfield draws on his many years of Python experience to share deep insights into Python 3 development you won't find anywhere else. He begins by illuminating Python's “beautiful heart”: the eight key elements of Python you need to write robust, high-performance programs. Building on these core elements, he introduces new topics designed to strengthen your practical expertise-one concept and hands-on example at a time. This book's coverage includes

 

  • Developing in Python using procedural, object-oriented, and functional programming paradigms
  • Creating custom packages and modules
  • Writing and reading binary, text, and XML files, including optional compression, random access, and text and XML parsing
  • Leveraging advanced data types, collections, control structures, and functions
  • Spreading program workloads across multiple processes and threads
  • Programming SQL databases and key-value DBM files
  • Utilizing Python's regular expression mini-language and module
  • Building usable, efficient, GUI-based applications
  • Advanced programming techniques, including generators, function and class decorators, context managers, descriptors, abstract base classes, metaclasses, and more

 

Programming in Python 3serves as both tutorial and language reference, and it is accompanied by extensive downloadable example code-all of it tested with the final version of Python 3 on Windows, Linux, and Mac OS X.


Table of Contents

Introduction1

 

Chapter 1: Rapid Introduction to Procedural Programming7

Creating and Running Python Programs 7

Python's “Beautiful Heart” 12

Examples 36

Summary 42

Exercises 44

 

Chapter 2:Data Types47

Identifiers and Keywords 47

Integral Types 50

Floating-Point Types 54

Strings 61

Examples 88

Summary 95

Exercises 97

 

Chapter 3: Collection Data Types99

Sequence Types 99

Set Types 112

Mapping Types 117

Iterating and Copying Collections 127

Examples 138

Summary 146

Exercises 147

 

Chapter 4: Control Structures and Functions149

Control Structures 149

Exception Handling 153

Custom Functions 161

Example: make_html_skeleton.py 175

Summary 181

Exercise 182

 

Chapter 5: Modules185

Modules and Packages 185

Overview of Python's Standard Library 202

Summary 219

Exercise 220

 

Chapter 6: Object-Oriented Programming223

The Object-Oriented Approach 224

Custom Classes 228

Custom Collection Classes 251

Summary 272

Exercises 274

 

Chapter 7: File Handling277

Writing and Reading Binary Data 282

Writing and Parsing Text Files 294

Writing and Parsing XML Files 302

Random Access Binary Files 313

Summary 326

Exercises 327

 

Chapter 8: Advanced Programming Techniques329

Further Procedural Programming 330

Further Object-Oriented Programming 353

Functional-Style Programming 384

Example: Valid.py 388

Summary 390

Exercises 392

 

Chapter 9: Processes and Threading395

Delegating Work to Processes 396

Delegating Work to Threads 400

Summary 409

Exercises 410

 

Chapter 10: Networking413

Creating a TCP Client 414

Creating a TCP Server 420

Summary 427

Exercises 427

 

Chapter 11: Database Programming431

DBM Databases 432

SQL Databases 436

Summary 443

Exercise 444

 

Chapter 12: Regular Expressions445

Python's Regular Expression Language 446

The Regular Expression Module 455

Summary 464

Exercises 465

 

Chapter 13: Introduction to GUI Programming467

Dialog-Style Programs 470

Main-Window-Style Programs 476

Summary 491

Exercises 491

 

Epilogue493

Index495

Zum Seitenanfang

Back Cover

Python 3 is the best version of the language yet: It is more powerful, convenient, consistent, and expressive than ever before. Now, leading Python programmer Mark Summerfield demonstrates how to write code that takes full advantage of Python 3's features and idioms. The first book written from a completely “Python 3” viewpoint, Programming in Python 3 brings together all the knowledge you need to write any program, use any standard or third-party Python 3 library, and create new library modules of your own.

 

Summerfield draws on his many years of Python experience to share deep insights into Python 3 development you won't find anywhere else. He begins by illuminating Python's “beautiful heart”: the eight key elements of Python you need to write robust, high-performance programs. Building on these core elements, he introduces new topics designed to strengthen your practical expertise-one concept and hands-on example at a time. This book's coverage includes

 

  • Developing in Python using procedural, object-oriented, and functional programming paradigms
  • Creating custom packages and modules
  • Writing and reading binary, text, and XML files, including optional compression, random access, and text and XML parsing
  • Leveraging advanced data types, collections, control structures, and functions
  • Spreading program workloads across multiple processes and threads
  • Programming SQL databases and key-value DBM files
  • Utilizing Python's regular expression mini-language and module
  • Building usable, efficient, GUI-based applications
  • Advanced programming techniques, including generators, function and class decorators, context managers, descriptors, abstract base classes, metaclasses, and more

 

Programming in Python 3serves as both tutorial and language reference, and it is accompanied by extensive downloadable example code-all of it tested with the final version of Python 3 on Windows, Linux, and Mac OS X.

Zum Seitenanfang

Author

Mark Summerfield, owner of Qtrac Ltd., is an independent trainer, consultant, technical editor, and writer specializing in Python, C++, Qt, and PyQt. His books include Rapid GUI Programming with Python and Qt: The Definitive Guide to PyQt Programming (Addison-Wesley, 2008) and, cowritten with Jasmin Blanchette, C++ GUI Programming with Qt 4 (Addison-Wesley, 2006). As Trolltech's documentation manager, Mark founded and edited Trolltech's technical journal, Qt Quarterly.

Zum Seitenanfang

Addison-Wesley (E)

  
 
 
  Aktuelle Titel  
  Demnächst erscheint  
Sortieren nach        Sprache
  Seite 1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16  17  . . .  

Java Concurrency in Practice

Autor:   Brian Goetz
Verlag:   Addison-Wesley (E)
Sprache:   Englisch
Datum:   Mai 2006
9780321349606, Fr. 60.40

CocoaZ Programming for MacZ OS X

Autor:   Aaron Hillegass
Verlag:   Addison-Wesley (E)
Sprache:   Englisch
Datum:   Mai 2008
9780321503619, Fr. 74.70

Exploratory Software Testing:Tips, Tricks, Tours, and Techniques to Guide Test Design

Autor:   James Whittaker
Verlag:   Addison-Wesley (E)
Sprache:   Englisch
Datum:   September 2009
9780321636416, Fr. 60.40

iPhone Developer's Cookbook, The:Building Applications with the iPhone3.0 SDK

Autor:   Erica Sadun
Verlag:   Addison-Wesley (E)
Sprache:   Englisch
Datum:   Januar 2010
9780321659576, Fr. 67.60

How to Break Software:A Practical Guide to Testing

Autor:   James Whittaker
Verlag:   Addison-Wesley (E)
Sprache:   Englisch
Datum:   Juni 2002
Beilagen:   CD
9780201796193, Fr. 82.00

OpenGL Programming Guide:The Official Guide to Learning OpenGL, Versions 3.0 and 3.1

Autor:   Dave Shreiner
Verlag:   Addison-Wesley (E)
Sprache:   Englisch
Datum:   Juli 2009
9780321552624, Fr. 89.10

Essential C# 3.0:For .NET Framework 3.5

Autor:   Mark Michaelis
Verlag:   Addison-Wesley (E)
Sprache:   Englisch
Datum:   September 2008
9780321533920, Fr. 74.70

Design Patterns:Elements of Reusable Object-Oriented Software

Autor:   Erich Gamma
Verlag:   Addison-Wesley (E)
Sprache:   Englisch
Datum:   März 1995
9780201633610, Fr. 81.90

Pragmatic Programmer, The:From Journeyman to Master

Autor:   Andrew Hunt
Verlag:   Addison-Wesley (E)
Sprache:   Englisch
Datum:   November 1999
9780201616224, Fr. 57.50

Programming:Principles and Practice Using C++

Autor:   Bjarne Stroustrup
Verlag:   Addison-Wesley (E)
Sprache:   Englisch
Datum:   Dezember 2008
9780321543721, Fr. 103.30

How to Break Web Software:Functional and Security Testing of Web Applications and Web Services

Autor:   Mike Andrews
Verlag:   Addison-Wesley (E)
Sprache:   Englisch
Datum:   Februar 2006
9780321369444, Fr. 53.20

UML Distilled:A Brief Guide to the Standard Object Modeling Language

Autor:   Martin Fowler
Verlag:   Addison-Wesley (E)
Sprache:   Englisch
Datum:   September 2003
9780321193681, Fr. 53.20

User Stories Applied:For Agile Software Development

Autor:   Mike Cohn
Verlag:   Addison-Wesley (E)
Sprache:   Englisch
Datum:   März 2004
9780321205681, Fr. 53.20

Cocoa Design Patterns

Autor:   Erik Buck
Verlag:   Addison-Wesley (E)
Sprache:   Englisch
Datum:   September 2009
9780321535023, Fr. 74.70

C++ Programming Language, The:Special Edition

Autor:   Bjarne Stroustrup
Verlag:   Addison-Wesley (E)
Sprache:   Englisch
Datum:   Februar 2000
9780201700732, Fr. 96.20

Python Essential Reference

Autor:   David Beazley
Verlag:   Addison-Wesley (E)
Sprache:   Englisch
Datum:   Juli 2009
9780672329784, Fr. 67.60

File System Forensic Analysis

Autor:   Brian Carrier
Verlag:   Addison-Wesley (E)
Sprache:   Englisch
Datum:   April 2005
9780321268174, Fr. 74.70

Real Digital Forensics:Computer Security and Incident Response

Autor:   Keith Jones
Verlag:   Addison-Wesley (E)
Sprache:   Englisch
Datum:   Oktober 2005
9780321240699, Fr. 74.70

Computer Forensics:Incident Response Essentials

Autor:   Warren Kruse
Verlag:   Addison-Wesley (E)
Sprache:   Englisch
Datum:   Oktober 2001
9780201707199, Fr. 60.40

SQL Server Forensic Analysis

Autor:   Kevvie Fowler
Verlag:   Addison-Wesley (E)
Sprache:   Englisch
Datum:   Dezember 2008
9780321544360, Fr. 81.90
  Seite 1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16  17  . . .  
Legende:   sofort lieferbar