没有合适的资源?快使用搜索试试~ 我知道了~
Python Developer's Handbook
需积分: 10 4 下载量 200 浏览量
2019-08-18
22:45:32
上传
评论
收藏 14.95MB PDF 举报
温馨提示
The Python Developer’s Handbook is designed to expose experienced developers to Python and its uses. Beginning with a brief introduction to the language and its syntax, the book moves quickly into more advanced programming topics, including embedding Python, network programming, GUI toolkits, JPython, Web development, Python/C API, and more. Python is an interpreted, object-oriented programming language. Its syntax is simple and easy to learn, and it encourages programmers to write and think clearly. The Python Developer’s Handbook is carefully written, well-organized introduction to this powerful, fast-growing programming language for experienced developers.
资源推荐
资源详情
资源评论
Web Development > Python Developer's Handbook
See All Titles
Front Matter
Table of Contents
Index
About the Author
Python Developer's Handbook
André Dos Santos Lessa
Publisher: Sams Publishing
First Edition December 12, 2000
ISBN: 0-672-31994-2, 960 pages
Buy Print Version
The Python Developer’s Handbook is designed to expose experienced developers
to Python and its uses. Beginning with a brief introduction to the language and its
syntax, the book moves quickly into more advanced programming topics,
including embedding Python, network programming, GUI toolkits, JPython, Web
development, Python/C API, and more. Python is an interpreted, object-oriented
programming language. Its syntax is simple and easy to learn, and it encourages
programmers to write and think clearly. The Python Developer’s Handbook is
carefully written, well-organized introduction to this powerful, fast-growing
programming language for experienced developers.
Last updated on 1/30/2002
Python Developer's Handbook, © 2002 Sams Publishing
© 2002, O'Reilly & Associates, Inc.
Web Development > Python Developer's Handbook > Introduction
See All Titles
< BACK Make Note | Bookmark CONTINUE >
152015024128143245168232148039199167010047123209178152124239215162145093180142147166131082
Introduction
When I was a little kid, I had this dream where a snake would rule and dominate the entire world
(actually, I guess that a penguin was also part of the dream…but never mind). I didn't pay much
attention to the fact at that time because I thought the dream was caused by an overexposure to all those
Japanese series that were popping up on the screens. Later, in my teenage years, there was this science
project where I had to spend some time studying snakes to display at an exhibition. After analyzing
Red Tail boas and coral snakes, I found this 3-year old giant of 10 feet, 40+ pounds. Instantly, I
recognized that snake as being the same one that I had seen in my dream years before. Its name was
Python, but at that time, I still couldn't figure out what was the relationship between that reptile and the
world domination.
Fifteen years ago, I was trying to select a channel in my old TV set, when a special program caught my
attention—A huge animated foot was dancing in the opening titles. After the program started, there
were a group of funny guys who were playing jokes about parrots and lumberjacks. After watching
tons of episodes and all their five films, I decided to write a book about them. I noticed that they were
called Python too. Maybe that was the answer. That troupe would dominate the entire world. I wanted
to let everyone know about it. Initially I had planned to write about the actors and their most famous
sketches, but I had to abandon the idea when I realized that my editors wouldn't give me enough time to
write a book of approximately 25,030 pages. That would be a nice bestseller, though.
Even though none of the previous facts has really happened, both have at least one thing in
common—the name Python. Python is also a scripting language whose name's origin has much to do
with the English troupe than with the legless reptile. This book will guide you step-by-step through the
universe of Python, a fantastic programming language that can help you to implement solutions for
almost all types of IT challenges that you might face. Almost all IT-related tasks, such as the
manipulation of database systems, or the design of Web-driven applications can be managed using
Python. Maybe that's the answer for my dream.
For the last couple of months, I've been trying to organize all the information about Python that I have
available, arranging them in this book. I can't say that I have included every little thing in the book, but
I do know that I have covered the most important aspects of the Python language. Note that along the 5-
month development period of this book, Python had several version upgrades, which made things way
more difficult to organize. So, I apologize if something important is missing.
This book is organized into 18 chapters and some additional appendixes, where each one covers a
specific aspect of the language. Inside each chapter, you will find many hints about how to use Python
to meet your needs. As you might agree with me, it is impossible to cover every single aspect of the
language in such a complete and up-to-date way. That's why I choose to provide Web links to other
sources of material that I think will be useful for your learning.
What this book covers?
A short answer is
The book starts with a very extensive review of the language and the modules that come as part of the
Python distribution. It goes through Object-Oriented Programming, Networking, Web Development,
Graphical Interfaces, and other important topics. The last chapter covers JPython, a version of Python
that runs in Java systems.
A long answer is
Chapter 1 explains what Python is, why Python must be used, where to get support and how to go
through each installation process.
Chapter 2 is a complete review of the Python programming language. By the end of this chapter, you
will learn how to create Python applications.
Chapter 3 shows which main modules extensions are currently available and for what purposes they
can be used. The focus here is to expand your knowledge about the Python libraries, showing the
resources that you already have available in the Python programming language.
Chapter 4 demonstrates how to handle exception situations and how to avoid error messages.
Chapter 5 introduces the OO methodology in a very complete and direct way. You will be able to
easily create and use objects and classes in your programs after reading this chapter.
Chapter 6 discusses extending and embedding Python. You will learn how to extend Python methods
using other languages and how to call Python methods from within other applications.
Chapter 7 explains objects interfacing and distribution. The information provided in this chapter
explains objects distribution and how to use them from within other systems.
Chapter 8 shows all the database options available within Python. For those that don't know anything
about database yet, it explains how databases work and how to execute basic SQL statements.
Chapter 9 provides very useful information concerning the use and manipulation of some advanced
topics, including images, sounds, threads, and scientific Python Modules.
Chapter 10 explains basic network concepts and invites you to play with these concepts using Python
programs.
Chapter 11 provides information concerning how to use Python for Internet development. It also
introduces you to some well-known Python third-party Web applications.
Chapter 12 provides information concerning how to use Python for scripting programming.
Chapter 13 provides information concerning how to use Python for data parsing and manipulation, such
as XML parsing and mail processing.
Chapter 14 shows what the available GUI options for graphic designing in Python are.
Chapter 15 provides Tkinter information. For those that don't know yet, Tkinter is the standard Python
GUI.
Chapter 16 shows some performance suggestions, and guides you through the process of writing clean
code within style.
Chapter 17 introduces a handful programming tools. You will learn how to go through all the
development stages without fear, including how to debug, compile, and distribute Python applications.
Chapter 18 demonstrates how easy it is to mix Java and Python using JPython.
Now that you know that you have a lot of interesting material to learn, I suggest you accept my hint:
The best way to read this book is by sitting on a comfortable beach chair, or laying on your bed, and
relaxing. If for some reason, if you think the topic is getting boring, just turn the page and go to another
chapter until you find something that you like. Later, you can return to where you originally left. This
book can be read from the start, or you can go directly to the chapter that teaches a specific
functionality. It's your choice!
So, what are you waiting for? Turn this page at once, and get ready to start dominating the world.
Last updated on 1/30/2002
Python Developer's Handbook, © 2002 Sams Publishing
< BACK Make Note | Bookmark CONTINUE >
© 2002, O'Reilly & Associates, Inc.
<= Return to book index
About the Author
Acknowledgments
Tell Us What You Think!
Introduction
I: Basic Programming
1. Introduction
Introduction to Python
Why Use Python?
Main Technical Features
Python Distribution
Installing and Configuring Python
Python and Other Languages
Patches and Bugs List
PSA and the Python Consortium
Summary
2. Language Review
Language Review
The Shell Environment
Programs
Built-In Data Types
Operators
Expressions
Control Statements
Data Structures
Functions and Procedures
Modules and Packages
Input and Output
File Handling
Summary
Code Example
3. Python Libraries
Python Libraries
Python Services
types
UserDict
UserList
operator
剩余1480页未读,继续阅读
资源评论
drjiachen
- 粉丝: 172
- 资源: 2138
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功