Programming Python, 4th Edition
(häftad)av Mark Lutz
- Format:
- Häftad (paperback)
- Utgiven:
- 2011-01-19
- Språk:
- Engelska
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-end scripting layers, text processing, and more. This book focuses on commonly used tools and libraries to give you a comprehensive understanding of Pythons 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-line scripting, processing files and folders, running programs in parallel, and more
- GUI programming: Learn to use Pythons tkinter widget library
- Internet programming: Access client-side network protocols and email tools, use CGI scripts, 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
(Computer Bookshops Limited)
Fler böcker av Mark Lutz
Learning Python 4th EditionMark Lutz (häftad) |
Python Pocket Reference, 4th EditionMark Lutz (häftad) |
Humanistic EconomicsMark Lutz, Kenneth Lux (inbunden) |
Economics, Culture &; SocietyMark Lutz, Oscar Nudler (häftad) | |||
|
288:- Köp
|
91:- Köp
|
377:- Köp
|
270:- Köp
|
Kundrecensioner
Bloggat om Programming Python, 4th Edition
Övrig information
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, 3rd Edition and Python Pocket Reference, 3rd Edition. Mark began teaching Python classes in 1997, and has instructed more than 200 Python training sessions as of 2007. Mark also has BS and MS degrees in Computer Science and 25 years of software development experience. Whenever Mark gets a break from spreading the Python word, he leads an ordinary, average life with his kids in Colorado. Mark can be reached by email at , or on the web at http://www.rmi.net/~lutz.
(Computer Bookshops Limited)
Innehållsförteckning
Preface; And Now for Something Completely Different...; About This Book; About This Fourth Edition; Whats Left, Then?; Python 3.X Impacts on This Book; Using Book Examples; Contacting OReilly; Conventions Used in This Book; Acknowledgments; The Beginning; Chapter 1: A Sneak Preview; 1.1 Programming Python: The Short Story; 1.2 The Task; 1.3 Step 1: Representing Records; 1.4 Step 2: Storing Records Persistently; 1.5 Step 3: Stepping Up to OOP; 1.6 Step 4: Adding Console Interaction; 1.7 Step 5: Adding a GUI; 1.8 Step 6: Adding a Web Interface; 1.9 The End of the Demo; System Programming; Chapter 2: System Tools; 2.1 The os.path to Knowledge; 2.2 System Scripting Overview; 2.3 Introducing the sys Module; 2.4 Introducing the os Module; Chapter 3: Script Execution Context; 3.1 Id Like to Have an Argument, Please; 3.2 Current Working Directory; 3.3 Command-Line Arguments; 3.4 Shell Environment Variables; 3.5 Standard Streams; Chapter 4: File and Directory Tools; 4.1 Erase Your Hard Drive in Five Easy Steps!; 4.2 File Tools; 4.3 Directory Tools; Chapter 5: Parallel System Tools; 5.1 Telling the Monkeys What to Do; 5.2 Forking Processes; 5.3 Threads; 5.4 Program Exits; 5.5 Interprocess Communication; 5.6 The multiprocessing Module; 5.7 Other Ways to Start Programs; 5.8 A Portable Program-Launch Framework; 5.9 Other System Tools Coverage; Chapter 6: Complete System Programs; 6.1 The Greps of Wrath; 6.2 A Quick Game of Find the Biggest Python File; 6.3 Splitting and Joining Files; 6.4 Generating Redirection Web Pages; 6.5 A Regression Test Script; 6.6 Copying Directory Trees; 6.7 Comparing Directory Trees; 6.8 Searching Directory Trees; 6.9 Visitor: Walking Directories ++; 6.10 Playing Media Files; 6.11 Automated Program Launchers (External); GUI Programming; Chapter 7: Graphical User Interfaces; 7.1 Heres Looking at You, Kid; 7.2 Python GUI Development Options; 7.3 tkinter Overview; 7.4 Climbing the GUI Learning Curve; 7.5 tkinter Coding Alternatives; 7.6 Adding Buttons and Callbacks; 7.7 Adding User-Defined Callback Handlers; 7.8 Adding Multiple Widgets; 7.9 Customizing Widgets with Classes; 7.10 Reusable GUI Components with Classes; 7.11 The End of the Tutorial; 7.12 Python/tkinter for Tcl/Tk Converts; Chapter 8: A tkinter Tour, Part 1; 8.1 Widgets and Gadgets and GUIs, Oh My!; 8.2 Configuring Widget Appearance; 8.3 Top-Level Windows; 8.4 Dialogs; 8.5 Binding Events; 8.6 Message and Entry; 8.7 Checkbutton, Radiobutton, and Scale; 8.8 Running GUI Code Three Ways; 8.9 Images; 8.10 Viewing and Processing Images with PIL; Chapter 9: A tkinter Tour, Part 2; 9.1 On Todays Menu: Spam, Spam, and Spam; 9.2 Menus; 9.3 Listboxes and Scrollb...
(Computer Bookshops Limited)