Find a copy in the library
Finding libraries that hold this item...
|All Authors / Contributors:||
Wesley Chun; Safari Tech Books Online.
|Notes:||CD ROM in pocket.|
|Description:||xxix, 763 pages ; 24 cm|
|Contents:||I. CORE PYTHON. 1. WELCOME TO PYTHON! What Is Python? History of Python. Features of Python. Obtaining Python. Obtaining Python. Installing Python. Running Python. Python Documentation. Comparing Python. JPython and Some Nomenclature. Exercises. 2. GETTING STARTED. Program Output, the print Statement, and "Hello World!" Program Input and the raw_input() Built-in Function. Comments. Operators. Variables and Assignment. Numbers. Strings. Lists and Tuples. Dictionaries. Code Blocks Use Indentation. if Statement. while Loop. for Loop and the range() Built-in Function. Files and the open() Built-in Function. Errors and Exceptions. Functions. Classes. Modules. Exercises. 3. SYNTAX AND STYLE. Statements and Syntax. Variable Assignment. Identifiers. Basic Style Guidelines. Memory Management. First Python Application. Exercises. 4. PYTHON OBJECTS. Python Objects. Standard Types. Other Built-in Types. Internal Types. Standard Type Operators. Standard Type Built-in Functions. Categorizing the Standard Types. Unsupported Types. Exercises. 5. NUMBERS. Introduction to Numbers. Integers. Floating Point Real Numbers. Complex Numbers. Operators. Built-in Functions. Related Modules. Exercises. 6. SEQUENCES: STRINGS, LISTS, AND TUPLES. Sequences. Strings. Strings and Operators. String-only Operators. Built-in Functions. String Built-in Methods. Special Features of Strings. Related Modules. Summary of String Highlights. Lists. Operators. Built-in Functions. List Type Built-in Methods. Special Features of Lists. Tuples. Tuple Operators and Built-in Functions. Special Features of Tuples. Related Modules. *Shallow and Deep Copies. Exercises. 7. DICTIONARIES. Introduction to Dictionaries. Operators. Built-in Functions. Built-in Methods. Dictionary Keys. Exercises. 8. CONDITIONALS AND LOOPS. if statement. else Statement. elif (a.k.a else-if) Statement. while Statement. for Statement. break Statement. continue Statement. pass Statement. else Statement Take Two. Exercises. 9. FILES AND INPUT/OUTPUT. File Objects. File Built-in Function [open()]. File Built-in Methods. File Built-in Attributes. Standard Files. Command-line Arguments. File System. File Execution. Persistent Storage Modules. Related Modules. Exercises. 10. ERRORS AND EXCEPTIONS. What Are Exceptions? Exceptions in Python. Detecting and Handling Exceptions. *Exceptions as Strings. *Exceptions as Classes. Raising Exceptions. Assertions. Standard Exceptions. *Creating Exceptions. Why Exceptions (Now)? Why Exceptions at All? Exceptions and the sys Module. Related Modules. Exercises. 11. FUNCTIONS. What are Functions? Calling Functions. Creating Functions. Passing Functions. Formal Arguments. Variable-length Arguments. Functional Programming. Variable Scope. *Recursion. Exercises. 12. MODULES. What are Modules? Modules and Files. Namespaces. Importing Modules. Importing Module Attributes. Module Built-in Functions. Packages. Other Features of Modules. Exercises. 13. CLASSES AND OOP. Introduction. Object-oriented Programming. Classes. Class Attributes. Instances. Instance Attributes. Binding and Method Invocation. Composition. Subclassing and Derivation. Inheritance. Built-in Functions for Classes, Instances, and Other Objects. Type vs Classes/Instances. Customizing Classes with Special Methods. Privacy. Delegation. Related Modules and Documentation. Exercises. 14. EXECUTION ENVIRONMENT. Callable Objects. Code Objects. Executable Object Statements and Built-in Functions. Executing Other (Python) Programs. Executing Other (Non-Python) Programs. Restricted Execution. Terminating Execution. Related Modules. Exercises. II. ADVANCED TOPICS. 15. REGULAR EXPRESSIONS. Introduction/Motivation. Special Symbols and Characters for REs. REs and Python. Regular Expression Adventures. Exercises. 16. NETWORK PROGRAMMING. Introduction. Sockets: Communication Endpoints. Network Programming in Python. Related Modules. Exercises. 17. MULTITHREADED PROGRAMMING. Introduction/Motivation. Threads and Processes. Threads and Python. thread Module. threading Module. Exercises. 18. GUI PROGRAMMING WITH TKINTER. Introduction. Tkinter and Python Programming. Tkinter Examples. Related Modules and Other GUIs. Exercises. 19. WEB PROGRAMMING. Introduction. Web Surfing with Python: Creating Simple Web Clients. Advanced Web Clients. CGI: Helping Web Servers Process Client Data. Building CGI Application. Advanced CGI. Web (HTTP) Servers. Related Modules. Exercises. 20. EXTENDING PYTHON. Introduction/Motivation. Extending Python by Writing Extensions. Related Topics. Exercises. Answers to Selected Exercises. Other Reading and References. Other Printed References. Online References. Python Operator Summary. What's New in Python 2.0? Appendix A. Appendix B. Appendix C. Appendix D. Index. About the Author.|
|Responsibility:||Wesley J. Chun.|