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

Sorry, this item is currently unavailable.

Core Python Programming

ISBN: 9780132269933 | 0132269937
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 ContentsAuthor Biography
Praise for Core Python Programming"The long-awaited second edition of Wesley Chun's Core Python Programming proves to be well worth the wait its deep and broad coverage and useful exercises will help readers learn and practice good Python."Alex Martelli, author of Python in a Nutshell and editor of Python Cookbook"There has been lot of good buzz around Wesley Chun's Core Python Programming. It turns out that all the buzz is well earned. I think this is the best book currently available for learning Python. I would recommend Chun's book over Lea... MORE
... MORE
Prefacexxiii
Acknowledgmentsxxxv
PART I: CORE PYTHON
2(668)
Welcome to Python!
4(26)
What Is Python?
5(1)
Origins
6(1)
Features
6(5)
Downloading and Installing Python
11(2)
Running Python
13(9)
Python Documentation
22(1)
Comparing Python
23(3)
Other Implementations
26(1)
Exercises
27(3)
Getting Started
30(30)
Program Output, the print Statement, and ``Hello World!''
32(1)
Program Input and the raw_input ( ) Built-in Function
33(2)
Comments
35(1)
Operators
35(2)
Variables and Assignment
37(1)
Numbers
37(2)
Strings
39(1)
Lists and Tuples
40(1)
Dictionaries
40(1)
Code Blocks Use Indentation
41(1)
if Statement
41(1)
while Loop
42(1)
for Loop and the range ( ) Built-in Function
43(2)
List Comprehensions
45(1)
Files and the open ( ) and file ( ) Built-in Functions
46(1)
Errors and Exceptions
47(1)
Functions
48(2)
Classes
50(2)
Modules
52(2)
Useful Functions
54(1)
Exercises
55(5)
Python Basics
60(28)
Statements and Syntax
61(3)
Variable Assignment
64(3)
Identifiers
67(2)
Basic Style Guidelines
69(6)
Memory Management
75(4)
First Python Programs
79(5)
Related Modules/Developer Tools
84(1)
Exercises
85(3)
Python Objects
88(32)
Python Objects
89(2)
Other Built-in Types
91(2)
Internal Types
93(3)
Standard Type Operators
96(5)
Standard Type Built-in Functions
101(10)
Categorizing the Standard Types
111(5)
Unsupported Types
116(1)
Exercises
117(3)
Numbers
120(36)
Introduction to Numbers
121(1)
Integers
122(3)
Double Precision Floating Point Numbers
125(1)
Complex Numbers
126(1)
Operators
127(9)
Built-in and Factory Functions
136(9)
Other Numeric Types
145(3)
Related Modules
148(3)
Exercises
151(5)
Sequences: Strings, Lists, and Tuples
156(96)
Sequences
158(10)
Strings
168(2)
Strings and Operators
170(8)
String-Only Operators
178(6)
Built-in Functions
184(4)
String Built-in Methods
188(4)
Special Features of Strings
192(5)
Unicode
197(9)
Related Modules
206(2)
Summary of String Highlights
208(1)
Lists
209(2)
Operators
211(5)
Built-in Functions
216(4)
List Type Built-in Methods
220(4)
Special Features of Lists
224(8)
Tuples
232(1)
Tuple Operators and Built-in Functions
233(2)
Special Features of Tuples
235(4)
Related Modules
239(1)
*Copying Python Objects and Shallow and Deep Copies
240(3)
Summary of Sequences
243(3)
Exercises
246(6)
Mapping and Set Types
252(38)
Mapping Type: Dictionaries
253(5)
Mapping Type Operators
258(2)
Mapping Type Built-in and Factory Functions
260(5)
Mapping Type Built-in Methods
265(3)
Dictionary Keys
268(5)
Set Types
273(3)
Set Type Operators
276(4)
Built-in Functions
280(1)
Set Type Built-in Methods
281(2)
Operator, Function/Method Summary Table for Set Types
283(1)
Related Modules
283(2)
Exercises
285(5)
Conditionals and Loops
290(34)
if Statement
291(1)
else Statement
292(2)
elif (aka else-if) Statement
294(1)
Conditional Expressions (aka ``the Ternary Operator'')
295(1)
while Statement
296(2)
for Statement
298(6)
break Statement
304(1)
continue Statement
305(1)
pass Statement
306(1)
else Statement . . . Take Two
307(2)
Iterators and the iter ( ) Function
309(4)
List Comprehensions
313(2)
Generator Expressions
315(5)
Related Modules
320(1)
Exercises
320(4)
Files and Input/Output
324(34)
File Objects
325(1)
File Built-in Functions [open ( ) and file ( )]
326(3)
File Built-in Methods
329(7)
File Built-in Attributes
336(1)
Standard Files
337(1)
Command-Line Arguments
338(1)
File System
339(9)
File Execution
348(1)
Persistent Storage Modules
348(3)
Related Modules
351(2)
Exercises
353(5)
Errors and Exceptions
358(50)
What Are Exceptions?
360(1)
Exceptions in Python
361(3)
Detecting and Handling Exceptions
364(18)
Context Management
382(4)
Exceptions as Strings
386(1)
Raising Exceptions
386(3)
Assertions
389(2)
Standard Exceptions
391(3)
*Creating Exceptions
394(7)
Why Exceptions (Now)?
401(1)
Why Exceptions at All?
402(1)
Exceptions and the sys Module
403(1)
Related Modules
404(1)
Exercises
405(3)
Functions and Functional Programming
408(68)
What Are Functions?
409(3)
Calling Functions
412(6)
Creating Functions
418(8)
Passing Functions
426(2)
Formal Arguments
428(5)
Variable-Length Arguments
433(6)
Functional Programming
439(14)
Variable Scope
453(13)
*Recursion
466(1)
Generators
467(4)
Exercises
471(5)
Modules
476(28)
What Are Modules?
477(1)
Modules and Files
478(2)
Namespaces
480(4)
Importing Modules
484(2)
Features of Module Import
486(5)
Module Built-in Functions
491(2)
Packages
493(3)
Other Features of Modules
496(4)
Related Modules
500(1)
Exercises
501(3)
Object-Oriented Programming
504(122)
Introduction
506(8)
Object-Oriented Programming
514(4)
Classes
518(2)
Class Attributes
520(6)
Instances
526(5)
Instance Attributes
531(9)
Binding and Method Invocation
540(2)
Static Methods and Class Methods
542(2)
Composition
544(1)
Subclassing and Derivation
545(2)
Inheritance
547(11)
Built-in Functions for Classes, Instances, and Other Objects
558(6)
Customizing Classes with Special Methods
564(21)
Privacy
585(2)
*Delegation
587(8)
Advanced Features of New-Style Classes (Python 2.2+)
595(20)
Related Modules and Documentation
615(3)
Exercises
618(8)
Execution Environment
626(44)
Callable Objects
628(7)
Code Objects
635(1)
Executable Object Statements and Built-in Functions
636(13)
Executing Other (Python) Programs
649(4)
Executing Other (Non-Python) Programs
653(10)
Restricted Execution
663(1)
Terminating Execution
663(3)
Miscellaneous Operating System Interface
666(2)
Related Modules
668(1)
Exercises
668(2)
PART II: ADVANCED TOPICS
670(341)
Regular Expressions
672(38)
Introduction/Motivation
673(3)
Special Symbols and Characters
676(7)
REs and Python
683(15)
Regular Expressions Example
698(7)
Exercises
705(5)
Network Programming
710(36)
Introduction
711(4)
Sockets: Communication Endpoints
715(3)
Network Programming in Python
718(14)
*SocketServer Module
732(5)
*Introduction to the Twisted Framework
737(4)
Related Modules
741(1)
Exercises
742(4)
Internet Client Programming
746(40)
What Are Internet Clients?
747(1)
Transferring Files
748(8)
Network News
756(10)
Electronic Mail
766(12)
Related Modules
778(1)
Exercises
779(7)
Multithreaded Programming
786(32)
Introduction/Motivation
787(2)
Threads and Processes
789(1)
Python, Threads, and the Global Interpreter Lock
790(5)
thread Module
795(5)
threading Module
800(14)
Related Modules
814(1)
Exercises
814(4)
GUI Programming
818(36)
Introduction
819(2)
Tkinter and Python Programming
821(5)
Tkinter Examples
826(14)
Brief Tour of Other GUIs
840(8)
Related Modules and Other GUIs
848(3)
Exercises
851(3)
Web Programming
854(64)
Introduction
855(4)
Web Surfing with Python: Creating Simple Web Clients
859(10)
Advanced Web Clients
869(6)
CGI: Helping Web Servers Process Client Data
875(3)
Building CGI Applications
878(14)
Using Unicode with CGI
892(2)
Advanced CGI
894(12)
Web (HTTP) Servers
906(3)
Related Modules
909(4)
Exercises
913(5)
Database Programming
918(44)
Introduction
919(5)
Python Database Application Programmer's Interface (DB-API)
924(22)
Object-Relational Managers (ORMs)
946(12)
Related Modules
958(2)
Exercises
960(2)
Extending Python
962(22)
Introduction/Motivation
963(2)
Extending Python by Writing Extensions
965(16)
Related Topics
981(1)
Exercises
982(2)
Miscellaneous
984(27)
Web Services
985(4)
Programming Microsoft Office with Win32 COM
989(13)
Python and Java Programming with Jython
1002(4)
Exercises
1006(5)
Appendix A Answers to Selected Exercises1011(10)
Appendix B Reference Tables1021(28)
Index1049

Wesley J. Chun, MSCS, is the author of Python Fundamentals, a companion video to Core Python Programming, and the coauthor of Python Web Development with Django. In addition to being a senior software architect, he runs CyberWeb (cyberwebconsulting.com), a consulting business specializing in Python software engineering and technical training. He has more than twenty-five years of programming, teaching, and writing experience, including more than a decade with Python. While at Yahoo!, he helped create Yahoo!Mail and Yahoo! People Search using Python. He holds degrees in computer science, mathematics, and music from the University of California.

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...