189.html
来自「Python Ebook Python&XML」· HTML 代码 · 共 53 行
HTML
53 行
<!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 -> Parsing and Manipulating Data</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> > <a href="0672319942.html" class="navtitle">Python Developer's Handbook</a> > <a href="187.html" class="navtitle">13. Data Manipulation</a> > <span class="nonavtitle">Parsing and Manipulating Data</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="188.html" title="13. Data Manipulation"><font size="1">< BACK</font></a></td><td align=center width="70%" class="headingsubbarbg"><font size="1"><a href="popanote.asp?pubui=oreilly&bookname=0672319942&snode=189" target="_blank" title="Make a public or private annnotation">Make Note</a> | <a href="189.html" title="Use a Safari bookmark to remember this section">Bookmark</a></font></td><td align=right width="15%" class="headingsubbarbg"><a href="190.html" title="XML Processing"><font size="1">CONTINUE ></font></a></td></TR></TABLE>
<a href="5%2F31%2F2002+4%3A45%3A47+PM.html" TABINDEX="-1"><img src=images/spacer.gif border=0 width=1 height=1></a><font color=white size=1>152015024128143245168232148039199167010047123209178152124239215162148041040016232070255017</font><a href="read6.asp?bookname=0672319942&snode=189&now=5%2F31%2F2002+4%3A45%3A47+PM" TABINDEX="-1"><img src=images/spacer.gif border=0 width=1 height=1></a><br>
<FONT>
<h3>
Parsing and Manipulating Data</h3>
<p>As you might already know, Python can be used as an effective and productive tool to parse and manipulate information from the Web.</p>
<P>This chapter covers modules that support encoding and decoding of data handling formats, which are largely used in Internet applications. Here, I
expose you to modules, such as <TT Class="monofont">xmllib,</TT><TT clasS="monofont">sgmllib,</TT> and <Tt class="monofont">htmllib,</tt> which are standard library modules for processing
the main markup languages used in the Internet.</p>
<p>At the end of the chapter, you will be introduced to some other modules, such as <tt class="monofont">mimetypes</tt> and <tT clAss="monofont">mimetools,</tT>
which are used for mail message manipulation, and data conversion.<a namE="idx1073747050"></a>
<a nAME="idx1073747051"></A>
<a namE="idx1073747052"></A></P>
</Font>
<P><TABLE width="100%" border=0><TR valign="top"><TD><font size=1 color="#C0C0C0"><br></font></TD><TD align=right><font size=1 color="#C0C0C0">Last updated on 1/30/2002<br>Python Developer's Handbook, © 2002 Sams Publishing</font></TD></TR></TABLE></P>
<TABLE border=0 width="100%" cellspacing=0 cellpadding=0><TR><td align=left width="15%" class="headingsubbarbg"><a href="188.html" title="13. Data Manipulation"><font size="1">< BACK</font></a></td><td align=center width="70%" class="headingsubbarbg"><font size="1"><a href="popanote.asp?pubui=oreilly&bookname=0672319942&snode=189" target="_blank" title="Make a public or private annnotation">Make Note</a> | <a href="189.html" title="Use a Safari bookmark to remember this section">Bookmark</a></font></td><td align=right width="15%" class="headingsubbarbg"><a href="190.html" title="XML Processing"><font size="1">CONTINUE ></font></a></td></TR></TABLE>
</TD></TR></TABLE>
<br><TABLE width=100% bgcolor=white border=0 cellspacing=0 cellpadding=5><TR><TD><H4 class=Title>Index terms contained in this section</H4>
<font size=2>
data<BR>
<a href="#idx1073747050">manipulating</a><BR>
manipulating<BR>
<a href="#idx1073747051">data</a><BR>
parsing<BR>
<a href="#idx1073747052">data</a><BR>
<BR>
</font></TD></TR></TABLE>
<!--EndOfBrowse-->
</TD></TR></TABLE>
<table width=100% border=0 cellspacing=0 cellpadding=0 bgcolor=#990000><tr><td><p align=center><font size=1 face="verdana,arial,helvetica" color=white>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?