FREE SHIPPING BOTH WAYS
ON EVERY ORDER!
LIST PRICE:
$59.99

Sorry, this item is currently unavailable.

Core Python Programming

ISBN: 9780130260369 | 0130260363
Edition: 2nd
Format: Paperback
Publisher: Prentice Hall
Pub. Date: 1/1/2007

Why Rent from Knetbooks?

Because Knetbooks knows college students. Our rental program is designed to save you time and money. Whether you need a textbook for a semester, quarter or even a summer session, we have an option for you. Simply select a rental period, enter your information and your book will be on its way!

Top 5 reasons to order all your textbooks from Knetbooks:

  • We have the lowest prices on thousands of popular textbooks
  • Free shipping both ways on ALL orders
  • Most orders ship within 48 hours
  • Need your book longer than expected? Extending your rental is simple
  • Our customer support team is always here to help
SummaryTable of Contents
Python is soaring in popularity, and it's no wonder: Python is fast, scalable, easy to learn, and combines the best aspects of scripting languages like Perl with the key advantages of object languages like Java. In this book, Yahoo! Internet software engineer Wesley Chun teaches experienced developers all they need to know to leverage all of Python's power -- fast. Like all Core Series books, Core Python Programming teaches via hundreds of industrial-strength code examples, all targeted at professional developers who want to leverage the skills... MORE
Prefacexix
Acknowledgmentsxxvii
PART ONE: CORE PYTHON1(720)
Welcome to Python!
2(22)
... MOREWhat Is Python?
3(1)
History of Python
4(1)
Features of Python
4(5)
Obtaining Python
9(2)
Obtaining Python
11(1)
Installing Python
11(1)
Running Python
12(8)
Python Documentation
20(1)
Comparing Python
20(2)
JPython and Some Nomenclature
22(1)
Exercises
22(2)
Getting Started
24(26)
Program Output, the print Statement, and ``Hello World!''
25(2)
Program Input and the raw_input () Built-in Function
27(1)
Comments
27(1)
Operators
28(1)
Variables and Assignment
29(1)
Numbers
30(1)
Strings
31(1)
Lists and Tuples
32(1)
Dictionaries
33(1)
Code Blocks Use Indentation
33(1)
if Statement
34(1)
while Loop
35(1)
for Loop and the range () Built-in Function
35(2)
Files and the open () Built-in Function
37(2)
Errors and Exceptions
39(1)
Functions
39(2)
Classes
41(3)
Modules
44(2)
Exercises
46(4)
Syntax and Style
50(24)
Statements and Syntax
51(3)
Variable Assignment
54(3)
Identifiers
57(2)
Basic Style Guidelines
59(5)
Memory Management
64(3)
First Python Application
67(5)
Exercises
72(2)
Python Objects
74(28)
Python Objects
75(1)
Standard Types
76(1)
Other Built-in Types
77(2)
Internal Types
79(3)
Standard Type Operators
82(5)
Standard Type Built-in Functions
87(7)
Categorizing the Standard Types
94(5)
Unsupported Types
99(1)
Exercises
100(2)
Numbers
102(28)
Introduction to Numbers
103(1)
Integers
104(2)
Floating Point Real Numbers
106(1)
Complex Numbers
106(2)
Operators
108(7)
Built-in Functions
115(8)
Related Modules
123(3)
Exercises
126(4)
Sequences: Strings, Lists, and Tuples
130(82)
Sequences
132(6)
Strings
138(2)
Strings and Operators
140(7)
String-only Operators
147(6)
Built-in Functions
153(1)
String Built-in Methods
154(5)
Special Features of Strings
159(9)
Related Modules
168(1)
Summary of String Highlights
169(2)
Lists
171(2)
Operators
173(5)
Built-in Functions
178(3)
List Type Built-in Methods
181(4)
Special Features of Lists
185(8)
Tuples
193(2)
Tuple Operators and Built-in Functions
195(1)
Special Features of Tuples
196(4)
Related Modules
200(1)
*Shallow and Deep Copies
201(6)
Exercises
207(5)
Dictionaries
212(22)
Introduction to Dictionaries
213(5)
Operators
218(1)
Built-in Functions
219(3)
Built-in Methods
222(3)
Dictionary Keys
225(5)
Exercises
230(4)
Conditionals and Loops
234(22)
if statement
235(1)
else Statement
236(2)
elif (a.k.a. else-if) Statement
238(1)
while Statement
239(2)
for Statement
241(5)
break Statement
246(1)
Continue Statement
247(1)
pass Statement
248(1)
else Statement... Take Two
249(2)
Exercises
251(5)
Files And Input/Output
256(30)
File Objects
257(1)
File Built-in Function [open ()]
258(2)
File Built-in Methods
260(6)
File Built-in Attributes
266(1)
Standard Files
266(1)
Command-line Arguments
267(2)
File System
269(8)
File Execution
277(1)
Persistent Storage Modules
277(3)
Related Modules
280(2)
Exercises
282(4)
Errors and Exceptions
286(48)
What Are Exceptions?
288(2)
Exceptions in Python
290(2)
Detecting and Handling Exceptions
292(17)
*Exceptions as Strings
309(2)
*Exceptions as Classes
311(3)
Raising Exceptions
314(3)
Assertions
317(1)
Standard Exceptions
318(2)
*Creating Exceptions
320(7)
Why Exceptions (Now)?
327(1)
Why Exceptions at All?
328(1)
Exceptions and the sys Module
329(1)
Related Modules
330(1)
Exercises
331(3)
Functions
334(48)
What are Functions?
335(3)
Calling Functions
338(1)
Creating Functions
339(2)
Passing Functions
341(2)
Formal Arguments
343(5)
Variable-length Arguments
348(5)
Functional Programming
353(20)
Variable Scope
373(5)
*Recursion
378(1)
Exercises
378(4)
Modules
382(16)
What are Modules?
383(1)
Modules and Files
384(2)
Namespaces
386(3)
Importing Modules
389(1)
Importing Module Attributes
390(2)
Module Built-in Functions
392(2)
Packages
394(2)
Other Features of Modules
396(1)
Exercises
397(1)
Classes and Oop
398(86)
Introduction
399(8)
Object-oriented Programming
407(5)
Classes
412(1)
Class Attributes
413(6)
Instances
419(4)
Instance Attributes
423(8)
Binding and Method Invocation
431(4)
Composition
435(1)
Subclassing and Derivation
436(2)
Inheritance
438(5)
Built-in Functions for Classes, Instances, and Other Objects
443(6)
Type vs. Classes/Instances
449(1)
Customizing Classes with Special Methods
450(13)
Privacy
463(1)
Delegation
464(9)
Related Modules and Documentation
473(3)
Exercises
476(8)
Execution Environment
484(42)
Callable Objects
486(7)
Code Objects
493(1)
Executable Object Statements and Built-in Functions
494(12)
Executing Other (Python) Programs
506(2)
Executing Other (Non-Python) Programs
508(7)
Restricted Execution
515(4)
Terminating Execution
519(3)
Related Modules
522(1)
Exercises
523(3)
PART TWO ADVANCED TOPICS
Regular Expressions
526(38)
Introduction/Motivation
527(3)
Special Symbols and Characters for REs
530(7)
REs and Python
537(15)
Regular Expression Adventures
552(8)
Exercises
560(4)
Network Programming
564(24)
Introduction
565(4)
Sockets: Communication Endpoints
569(3)
Network Programming in Python
572(12)
Related Modules
584(1)
Exercises
585(3)
Multithreaded Programming
588(30)
Introduction/Motivation
589(2)
Threads and Processes
591(1)
Threads and Python
592(5)
thread Module
597(5)
threading Module
602(13)
Exercises
615(3)
Gui Programming with Tkinter
618(22)
Introduction
619(2)
Tkinter and Python Programming
621(5)
Tkinter Examples
626(11)
Related Modules and Other GUIs
637(1)
Exercises
638(2)
Web Programming
640(60)
Introduction
641(4)
Web Surfing with Python: Creating Simple Web Clients
645(8)
Advanced Web Clients
653(6)
CGI: Helping Web Servers Process Client Data
659(2)
Building CGI Application
661(14)
Advanced CGI
675(13)
Web (HTTP) Servers
688(3)
Related Modules
691(3)
Exercises
694(6)
Extending Python
700(21)
Introduction/Motivation
701(2)
Extending Python by Writing Extensions
703(16)
Related Topics
719(1)
Exercises
719(2)
Appendix A721(8)
Answers to Selected Exercises
721(8)
Appendix B729(10)
Other Reading and References
729(1)
Other Printed References
730(1)
Online References
731(8)
Appendix C739(2)
Python Operator Summary
739(2)
Appendix D741(6)
What's New in Python 2.0?
741(6)
Index747(24)
About the Author771

Related Products


  • Core Python Applications Programming
    Core Python Applications Progr...
  • Core Python Programming
    Core Python Programming


Please wait while this item is added to your cart...