Core Python Programming, Volume 1

Front Cover
Prentice Hall Professional, 2001 - Computers - 771 pages
  • New to Python? This is the developer's guide to Python development!
  • 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
  • Also includes features found in the new Python 1.6 and 2.0 releases
  • 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, it's 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 chapterthat shows you step-by-step how to extend Python using C or C++.

    • Python syntax and style
    • Development and Run-time Environments
    • Objects and Python memory management
    • Standard data types, methods, and operators
    • Loops and conditionals
    • Files and Input/Output
    • Exceptions and error handling
    • Functions, scope, arguments, and functional programming
    • Importing modules and module attributes
    • Object-oriented Programming with classes, methods, and instances
    • Callable Objects
    • Extending Python

    Coverage of the Python standard module library and client-server application development includes comprehensive introductions to the following topics in Python programming:

    • Regular expressions
    • TCP/IP and UDP/IP Network programming using sockets
    • Operating system interface
    • GUI development with Tk using Tkinter
    • Multithreaded programming
    • Interactive Web/CGI/Internet applications
    • Executing code in a restricted environment
    • 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:

    • DEMONSTRATES how to write commercial-quality code
    • FEATURES dozens of programs andexamples!
    • FOCUSES on the features and functions most important to real developers
    • PROVIDES objective, unbiased coverage of cutting-edge technologies-no
    • hype!

    "Core Python Programming" delivers:

    • Coverage of the core parts of the Python language
    • Real-world insights for developing Web/Internet, network, multithreaded and GUI applications
    • Tables and charts detailing Python modules, built-in functions, operators, and attributes
    • Code snippets to try live with Python's interactive interpreter, hammering the concepts home
    • 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.


    What people are saying - Write a review

    User ratings

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    LibraryThing Review

    User Review  - 0030 - LibraryThing

    I've found this book too obtuse to learn Python from or to use as a reference. I am now looking for an alternative title. The author has a habit of introducing new terminology in examples and only ... Read full review

    User Review - Flag as inappropriate

    Found on the Scholar google site for online learning


    Advanced Topics
    Answers to Selected Exercises
    Other Reading and References
    Python Operator Summary
    Whats New in Python 20?

    Other editions - View all

    Common terms and phrases

    About the author (2001)

    WESLEY J. CHUN holds computer science and mathematics degrees from the University of CA, MSCS from U.C. Santa Barbara, and an AB in Mathematics and Minor in Music. He is a principal consultant at Cyberweb Consulting. While at Yahoo!, Chun used Python to help create Yahoo!Mail and Yahoo! People Search. Chun has over 18 years of UNIX, computer programming, and instructional experience. In his spare time, Chun serves as a technical instructor with U.C. Santa Cruz where he teaches Python, C, and UNIX for the UCSC Extension system.

    Bibliographic information