Core Python Programming.pdf

(6995 KB) Pobierz
Safari | Core Python Programming
Programming > Core Python Programming
Wesley J. Chun
Publisher: Prentice Hall PTR
First Edition December 14, 2000
ISBN: 0-13-026036-3, 816 pages
l
New to Python? This is the developer's guide to Python development!
l
Learn the core features of Python as well as advanced topics such as
regular expressions, multithreaded programming, Web/Internet and
network development, GUI development with Tk(inter) and more
l
Also includes features found in the new Python 1.6 and 2.0 releases
l
CD-ROM: Complete Python distributions (source code, documentation,
and various binaries) plus all example scripts in the book
Python is an Internet and systems programming language that is soaring in
popularity in today's fast-paced software development environment, and no
wonder: it's simple (yet robust), object-oriented (yet can be used as a procedural
language), extensible, scalable and features an easy to learn syntax that is clear and
concise. Python combines the power of a compiled object language like Java and
C++ with the ease of use and rapid development time of a scripting language. In
fact, its syntax is so easy to understand that you are more likely to pick it up faster
than any of the other popular scripting languages in use today!
In Core Python Programming , Internet software engineer and technical trainer
Wesley Chun provides intermediate and experienced developers all they need to
know to learn Python-fast. Like all Core Series books, Core Python Programming
delivers hundreds of industrial-strength code snippets and examples, all targeted at
professional developers who want to leverage their existing skills! In particular,
Core Python Programming presents numerous interactive examples that can be
entered into the Python interpreter right in front of you! Finally, we present a
chapter that shows you step-by-step how to extend Python using C or C++.
l
Python syntax and style
306795581.002.png 306795581.003.png
l
Development and Run-time Environments
l
Objects and Python memory management
l
Standard data types, methods, and operators
l
Loops and conditionals
l
Files and Input/Output
l
Exceptions and error handling
l
Functions, scope, arguments, and functional programming
l
Importing modules and module attributes
l
Object-oriented Programming with classes, methods, and instances
l
Callable Objects
l
Extending Python
Coverage of the Python standard module library and client-server application
development includes comprehensive introductions to the following topics in
Python programming:
l
Regular expressions
l
TCP/IP and UDP/IP Network programming using sockets
l
Operating system interface
l
GUI development with Tk using Tkinter
l
Multithreaded programming
l
Interactive Web/CGI/Internet applications
l
Executing code in a restricted environment
l
Inheritance, type emulation, operator overloading, and delegation in an
OOP environment
Finally, we provide an introduction to the new features introduced in Python 1.6.
These include Unicode string support, the new function invocation syntax which
lets the caller provide a tuple of positional arguments and/or a dictionary of
keyword arguments, and the new string methods. We also provide a glimpse into
features that will only be found in the newer 2.0 release.
Every Core Series book:
l
DEMONSTRATES how to write commercial-quality code
l
FEATURES dozens of programs and examples!
l
FOCUSES on the features and functions most important to real developers
l
PROVIDES objective, unbiased coverage of cutting-edge technologies-no
l
hype!
Core Python Programming delivers:
l
Coverage of the core parts of the Python language
l
Real-world insights for developing Web/Internet, network, multithreaded
and GUI applications
l
Tables and charts detailing Python modules, built-in functions, operators,
and attributes
l
Code snippets to try live with Python's interactive interpreter, hammering
the concepts home
l
Extensive code examples-including several complete sample applications
CD-ROM includes complete Python source code and documentation distributions
for Unix/Linux along with binaries for Windows and Macintosh platforms plus
source code for all examples in the book.
Last updated on 9/14/2001
Core Python Programming, © 2002 Prentice Hall PTR
© 2002, O'Reilly & Associates, Inc.
 
Programming > Core Python Programming > Welcome to Python!
156135250194107072078175030179198180024228156016206217188240241051211042040087237072065031
Welcome to Python!
Welcome to the wonderful world of Python! As a professional or student with working knowledge of
another high-level programming language, this text was made for you in your efforts to jump straight
into Python with as little overhead as possible. The goal of this book is to provide text that flows in a
conversational style littered with examples to highlight your path towards Python programming.
At the time of publication, Python 2.0 was just released, so you will definitely have the latest and
greatest. The supplementary CD-ROM has the three most recent versions of Python: 1.5.2, 1.6, and 2.0,
not to mention the most recent release of the Java version of the Python interpreter, JPython (a.k.a.
Jython).
Last updated on 9/14/2001
Core Python Programming, © 2002 Prentice Hall PTR
© 2002, O'Reilly & Associates, Inc.
306795581.004.png
Zgłoś jeśli naruszono regulamin