⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 13.html

📁 Python Ebook Python&XML
💻 HTML
字号:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Robots" content="INDEX,NOFOLLOW">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<TITLE>Safari | Python Developer's Handbook -&gt; Introduction to Python</TITLE>
<LINK REL="stylesheet" HREF="oreillyi/oreillyN.css">
</HEAD>
<BODY bgcolor="white" text="black" link="#990000" vlink="#990000" alink="#990000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">

<table width="100%" cellpadding=5 cellspacing=0 border=0 class="navtopbg"><tr><td><font size="1"><p class="navtitle"><a href="8.html" class="navtitle">Web Development</a> &gt; <a href="0672319942.html" class="navtitle">Python Developer's Handbook</a> &gt; <a href="11.html" class="navtitle">1. Introduction</a> &gt; <span class="nonavtitle">Introduction to Python</span></p></font></td><td align="right" valign="top" nowrap><font size="1"><a href="main.asp?list" class="safnavoff">See All Titles</a></font></td></tr></table>
<TABLE width=100% bgcolor=white border=0 cellspacing=0 cellpadding=5><TR><TD>
<TABLE border=0 width="100%" cellspacing=0 cellpadding=0><TR><td align=left width="15%" class="headingsubbarbg"><a href="12.html" title="1. Introduction"><font size="1">&lt;&nbsp;BACK</font></a></td><td align=center width="70%" class="headingsubbarbg"><font size="1"><a href="popanote.asp?pubui=oreilly&bookname=0672319942&snode=13" target="_blank" title="Make a public or private annnotation">Make Note</a> | <a href="13.html" title="Use a Safari bookmark to remember this section">Bookmark</a></font></td><td align=right width="15%" class="headingsubbarbg"><a href="14.html" title="Why Use Python?"><font size="1">CONTINUE&nbsp;&gt;</font></a></td></TR></TABLE>
<a href="5%2F31%2F2002+4%3A15%3A12+PM.html" TABINDEX="-1"><img src=images/spacer.gif border=0 width=1 height=1></a><font color=white size=1>152015024128143245168232148039199167010047123209178152124239215162145092168038024167188168</font><a href="read5.asp?bookname=0672319942&snode=13&now=5%2F31%2F2002+4%3A15%3A12+PM" TABINDEX="-1"><img src=images/spacer.gif border=0 width=1 height=1></a><br>
<FONT><h3>Introduction to Python</h3>
				<p>Python is an open source language that is getting a lot of attention from the market. It combines ease of use with the capability to run on multiple platforms because it is implemented focusing on every major operating system. <a NAME="idx1073741825"></a>Guido van Rossum created the language nearly 11 years ago and since then, Python has changed through the years, turning itself into one of the most powerful programming languages currently available.</p>

				<p>Python is a good prototype language. In just a few minutes, you can develop prototypes that would take you several hours in other languages. It also embodies all object-oriented concepts as part of its core engine. Therefore, creating programming object-oriented applications in Python is much easier than it would be in other languages such as Java or C++.</p>

				<P>As I just said, Python is an open source project. Consequently, it is truly free. No copylefts or copyrights are involved in its license agreement. You can change it, modify it, give it away, sell it, and even freely distribute it for commercial use. Its copyright only protects the author from legal problems that might occur if someone decides to sue the author for errors caused by using Python, or if someone else tries to claim ownership of the language.</P>

				<P>Maybe you still don't know Python, but many companies are out there using it. The problem is these companies don't want to go public talking about it because they think that using Python without getting the attention of their competitors is a good strategy. Okay, I know that you are curious to know who in the world is using Python. Organizations like <A name="idx1073741826"></A>Industrial Light and Magic, <A NAme="idx1073741827"></a>Yahoo!, <a name="idx1073741828"></a>Red Hat, and <a name="idx1073741829"></a>NASA are some of companies that run Python applications.</p>

				<div cLasS="note"><p clAss="notetitle"><b>Note</b></P><p>

					<p>You can always check out the latest <a NAME="idx1073741830"></a><a naME="idx1073741831"></A><A name="idx1073741832"></A>news about Python by visiting</P>

					<P><A targET="_blank" HRef="http://www.python.org/News.html">http://www.python.org/News.html</a>.</p>

				</p></div>
<br>
<br>

				<p>Nowadays, many developers are contributing to Python's support. That means that, currently, a lot of people are testing and designing modules for the language. If you spend some time visiting Python's official Web site, you can get a list of several development groups that are working hard to give Python some support to new technologies, such as XML and image processing.</p>

				<p>Both Perl and Java already have a large group of programmers who are very devoted to their programming languages, and, today, Python is starting to get there.</p>

				<p>Notice that Python is a language extremely easy to code if you have ever programmed before. <a naMe="idx1073741833"></a>Guido claims to have fun every time he has to do something using Python. Learning Python through this book will be exciting too. Soon, you will have some practice and understand the reason I say that.</P>

				<p>In this chapter, I give you a quick overview of Python's main features. The other chapters of this book cover in detail the topics that I mention next.<a nAme="idx1073741834"></a></p>

				<H4>Python!? What Is It?</h4>
					<p>Let's define Python:</p>

					<P>Python is an interpreted, high-level programming language, pure object-oriented, and powerful server-side scripting language for the Web. Like all scripting languages, Python code resembles <A NAme="idx1073741835"></a><a NAME="idx1073741836"></a>pseudo code. Its <a naME="idx1073741837"></A>syntax's rules and elegant design make it readable even among multiprogrammer development teams. The language doesn't provide a rich syntax, which is really helpful. The idea behind that is to keep you thinking about the business rules of your application and not to spend time trying to figure out what command you should use.</P>

					<p>Quoting <a naME="idx1073741838"></A>Guido van Rossum

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -