𝔖 Scriptorium
✦   LIBER   ✦

πŸ“

Python Developer's Handbook

✍ Scribed by Lessa A.


Publisher
Sams Pub.
Year
2000
Tongue
English
Leaves
958
Category
Library

⬇  Acquire This Volume

No coin nor oath required. For personal study only.

✦ Synopsis


The Python Developer's Handbook is designed to expose experienced developers to Python and its uses. Beginning with a brief introduction to the language and its syntax, the book moves quickly into more advanced programming topics, including embedding Python, network programming, GUI toolkits, JPython, Web development, Python/C API, and more. Python is an interpreted, object-oriented programming language. Its syntax is simple and easy to learn, and it encourages programmers to write and think clearly. The Python Developer's Handbook is carefully written, well-organized introduction to this powerful, fast-growing programming language for experienced developers.

✦ Table of Contents


Python Developer's Handbook......Page 2
Copyright Β© 2001 by Sams Publishing......Page 3
Contents at a Glance......Page 4
Table of Contents......Page 6
About the Author......Page 27
INTRODUCTION......Page 30
PART I Basic Programming......Page 34
Introduction to Python......Page 36
Why Use Python?......Page 39
Main Technical Features......Page 42
Python Distribution......Page 45
Installing and Configuring Python......Page 47
Python and Other Languages......Page 51
Patches and Bugs List......Page 54
PSA and the Python Consortium......Page 55
Summary......Page 57
Language Review......Page 60
The Shell Environment......Page 61
Programs......Page 64
Operators......Page 76
Expressions......Page 78
Control Statements......Page 88
Data Structures......Page 91
Functions and Procedures......Page 100
Modules and Packages......Page 106
Input and Output......Page 111
File Handling......Page 115
Summary......Page 118
Code Example......Page 119
Python Libraries......Page 126
Python Services......Page 128
The String Group......Page 139
Miscellaneous......Page 144
Generic Operational System......Page 148
Optional Operational System......Page 156
Debugger......Page 159
Internet Protocol and Support......Page 160
Internet Data Handling......Page 163
Multimedia......Page 166
Cryptographic......Page 168
UNIX Specific......Page 169
SGI IRIX Specific......Page 172
Macintosh Specific......Page 174
Undocumented Modules......Page 175
Summary......Page 179
Exception Handling......Page 182
Standard Exceptions (Getting Help from Other Modules)......Page 186
Raising Exceptions......Page 188
Catching Exceptions......Page 194
try/finally......Page 196
Creating User-defined Exceptions......Page 197
The Standard Exception Hierarchy......Page 198
Summary......Page 202
Code Examples......Page 203
Object-Oriented Programming......Page 208
An Introduction to Python OOP......Page 209
Python Classes and Instances......Page 212
Methods Handling......Page 219
Special Methods......Page 221
Inheritance......Page 227
Polymorphism......Page 230
Encapsulation......Page 233
Metaclasses......Page 235
Summary......Page 238
Code Examples......Page 240
PART II Advanced Programming......Page 248
Extending and Embedding Python......Page 250
Extending......Page 252
Compiling and Linking Extension Modules......Page 266
SWIGβ€”The Simple Wrapper Interface Generator......Page 272
Other Wrappers......Page 274
Embedding......Page 275
Summary......Page 280
Code Examples......Page 281
Object Interfacing and Distribution......Page 288
Interfacing Objects......Page 289
Introduction to COM Objects......Page 290
Implementing COM Objects in Python......Page 295
Distributing Objects with Python......Page 314
Summary......Page 324
Code Examples......Page 326
Working with Databases......Page 334
Flat Databases......Page 335
DBM (Database Managers) Databases......Page 338
Object Serialization and Persistent Storage......Page 344
The ODBC Module......Page 351
ADO (ActiveX Data Objects)......Page 354
Using SQL......Page 356
Python DB API......Page 364
Summary......Page 377
Other Advanced Topics......Page 380
Manipulating Images......Page 381
Working with Sounds......Page 384
Restricted Execution Mode......Page 389
Scientific Computing......Page 392
Regular Expressions......Page 398
Threads......Page 405
Summary......Page 411
Code Examples......Page 412
PART III Network Programming......Page 418
Networking......Page 420
Networking Concepts......Page 421
HTTP......Page 434
Accessing URLs......Page 443
FTP......Page 446
SMTP/POP3/IMAP......Page 447
Newsgroupsβ€”Telnet and Gopher......Page 450
Summary......Page 452
Web Development......Page 456
Configuring Web Servers for Python/CGI Scripts......Page 457
Third-Party Internet Applications......Page 462
Other Applications......Page 468
Site Management Tools......Page 471
Summary......Page 476
Web Programming......Page 480
An Introduction to CGI......Page 481
The cgi Module......Page 483
Creating, Installing, and Running Your Script......Page 485
Python Active Scripting......Page 510
Summary......Page 517
Parsing and Manipulating Data......Page 520
XML Processing......Page 521
XML-RPC......Page 539
XDR Data Exchange Format......Page 541
Handling Other Markup Languages......Page 546
MIME Parsing and Manipulation......Page 559
Generic Conversion Functions......Page 573
Summary......Page 578
PART IV Graphical Interfaces......Page 582
Python GUI Toolkits......Page 584
The Tkinter Module......Page 586
Overview of Other GUI Modules......Page 587
Designing a Good Interface......Page 600
Summary......Page 601
Introduction to Tcl/Tk......Page 604
Tkinter......Page 605
Geometry Management......Page 609
Handling Tkinter Events......Page 614
Tkinter Widgets......Page 619
Designing Applications......Page 653
Tkinter Resources......Page 659
Summary......Page 660
PART V Developing with Python......Page 662
Building Python Applications......Page 664
Development Strategy......Page 665
IDLE......Page 676
Pythonwin......Page 690
Summary......Page 700
The Development Process of Python Programs......Page 702
Compiling Python......Page 703
Editing Code......Page 707
Python Scripts......Page 710
Generating an Executable Python Bytecode......Page 714
Interpreter......Page 715
Debugging the Application......Page 718
Profiling Python......Page 726
Distributing Python Applications......Page 737
Summary......Page 741
PART VI Python and Java......Page 744
Welcome to JPython......Page 746
Java Integration......Page 751
Downloading and Installing JPython......Page 752
The Interpreter......Page 756
The JPython Registry......Page 758
Creating Graphical Interfaces......Page 760
Embedding......Page 761
jpythonc......Page 763
Running JPython Applets......Page 765
Summary......Page 766
PART VII Appendixes......Page 768
Python/C API......Page 770
The Very High Level Layer......Page 780
Reference Counting......Page 782
Exception Handling......Page 783
Standard Exceptions......Page 786
Utilities......Page 788
Abstract Objects Layer......Page 791
Concrete Objects Layer......Page 800
Initialization, Finalization, and Threads......Page 818
Memory Management......Page 829
Defining New Object Types......Page 833
Python on Win32 Systems......Page 836
Python on MacOS Systems......Page 839
Python on UNIX Systems......Page 843
Other Platforms......Page 844
Python 2.0 License Information......Page 846
Python’s Copyright Notice (version 1.6)......Page 848
Python’s Copyright Notice (until version 1.5.2)......Page 850
Copyright Notice of JPython with OROMatcher......Page 851
Copyright Notice of JPython without OROMatcher......Page 853
APPENDIX D Migrating to Python 2.0......Page 856
Enhancements......Page 857
Expected Code Breaking......Page 860
Index......Page 862


πŸ“œ SIMILAR VOLUMES


Python Developer's Handbook
✍ Andre Lessa πŸ“‚ Library πŸ“… 2000 πŸ› Sams 🌐 English

There might be some need for a book that covers intesively py 1.5.2, which I think was released in 1997 or so, but aside from that, you will read about code and libraries that are no longer maintained, or even available.

Python Developer's Handbook
✍ Andre Lessa πŸ“‚ Library πŸ“… 2000 πŸ› Sams Publishing 🌐 English

The Python Developer's Handbook is designed to expose experienced developers to Python and its uses. Beginning with a brief introduction to the language and its syntax, the book moves quickly into more advanced programming topics, including embedding Python, network programming, GUI toolkits, JPytho

Python developer's handbook
✍ Andre Lessa πŸ“‚ Library πŸ“… 2001 πŸ› Sams 🌐 English

The Python Developer's Handbook is designed to expose experienced developers to Python and its uses. Beginning with a brief introduction to the language and its syntax, the book moves quickly into more advanced programming topics, including embedding Python, network programming, GUI toolkits, JPytho