[Python-checkins] python/dist/src/Doc/tut tut.tex,1.217,1.218

rhettinger at users.sourceforge.net rhettinger at users.sourceforge.net
Fri Dec 5 02:53:52 EST 2003


Update of /cvsroot/python/python/dist/src/Doc/tut
In directory sc8-pr-cvs1:/tmp/cvs-serv26124
Modified Files:
	tut.tex 
Log Message:
Fix links and typos.
Index: tut.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/tut/tut.tex,v
retrieving revision 1.217
retrieving revision 1.218
diff -C2 -d -r1.217 -r1.218
*** tut.tex	5 Dec 2003 06:39:54 -0000	1.217
--- tut.tex	5 Dec 2003 07:53:50 -0000	1.218
***************
*** 4416,4420 ****
 >>> import os
 >>> dir(os)
! <returns a listi of all module functions>
 >>> help(os)
 <returns an extensive manual page created from the module's docstrings>
--- 4416,4420 ----
 >>> import os
 >>> dir(os)
! <returns a list of all module functions>
 >>> help(os)
 <returns an extensive manual page created from the module's docstrings>
***************
*** 4428,4432 ****
 >>> import shutil
 >>> shutil.copyfile('data.db', 'archive.db')
! >>> shutil.move('/build/excecutables', 'installdir')
 \end{verbatim}
 
--- 4428,4432 ----
 >>> import shutil
 >>> shutil.copyfile('data.db', 'archive.db')
! >>> shutil.move('/build/executables', 'installdir')
 \end{verbatim}
 
***************
*** 4586,4591 ****
 
 Common data archiving and compression formats are directly supported
! by modules including: \module{zlib}, \module{gzip}, \module{bz2},
! \module{zipfile}, and \module{tar}.
 
 \begin{verbatim}
--- 4586,4595 ----
 
 Common data archiving and compression formats are directly supported
! by modules including:
! \ulink{\module{zlib}}{../lib/module-zlib.html},
! \ulink{\module{gzip}}{../lib/module-gzip.html},
! \ulink{\module{bz2}}{../lib/module-bz2.html},
! \ulink{\module{zipfile}}{../lib/module-zipfile.html}, and
! \ulink{\module{tarfile}}{../lib/module-tarfile.html}.
 
 \begin{verbatim}
***************
*** 4618,4622 ****
 \begin{verbatim}
 >>> from timeit import Timer
- >>> dir(Timer)
 >>> Timer('t=a; a=b; b=t', 'a=1; b=2').timeit()
 0.60864915603680925
--- 4622,4625 ----
***************
*** 4677,4689 ****
 \section{Batteries Included\label{batteries-included}}
 
! Python has a ``batteries included'' philosophy. The is best seen
! through the sophisticated and robust capabilites of its larger
 packages. For example:
 
! * The \module{xmlrpclib} and \module{SimpleXMLRPCServer} modules make
! implementing remote procedure calls into an almost trivial task.
! Despite the names, no direct knowledge or handling of XML is needed.
 
! * The \module{email} package is a library for managing email messages,
 including MIME and other RFC 2822-based message documents. Unlike
 \module{smtplib} and \module{poplib} which actually send and receive
--- 4680,4694 ----
 \section{Batteries Included\label{batteries-included}}
 
! Python has a ``batteries included'' philosophy. This is best seen
! through the sophisticated and robust capabilities of its larger
 packages. For example:
 
! * The \ulink{\module{xmlrpclib}}{../lib/module-xmlrpclib.html} and
! \ulink{\module{SimpleXMLRPCServer}}{../lib/module-SimpleXMLRPCServer.html}
! modules make implementing remote procedure calls into an almost trivial
! task. Despite the names, no direct knowledge or handling of XML is needed.
 
! * The \ulink{\module{email}}{../lib/module-email.html}
! package is a library for managing email messages,
 including MIME and other RFC 2822-based message documents. Unlike
 \module{smtplib} and \module{poplib} which actually send and receive
***************
*** 4692,4697 ****
 and for implementing internet encoding and header protocols.
 
! * The \module{xml.dom} and \module{xml.sax} packages provide robust
! support for parsing this popular data interchange format. Likewise,
 the \module{csv} module supports direct reads and writes in a common
 database format. Together, these modules and packages greatly simplify
--- 4697,4703 ----
 and for implementing internet encoding and header protocols.
 
! * The \ulink{\module{xml.dom}}{../lib/module-xml.dom.html} and
! \ulink{\module{xml.sax}}{../lib/module-xml.sax.html} packages provide
! robust support for parsing this popular data interchange format. Likewise,
 the \module{csv} module supports direct reads and writes in a common
 database format. Together, these modules and packages greatly simplify
***************
*** 4699,4703 ****
 
 * Internationalization is supported by a number of modules including
! \module{gettext}, \module{locale}, and the \module{codecs} package.
 
 
--- 4705,4711 ----
 
 * Internationalization is supported by a number of modules including
! \ulink{\module{gettext}}{../lib/module-gettext.html},
! \ulink{\module{locale}}{../lib/module-locale.html}, and the
! \ulink{\module{codecs}}{../lib/module-codecs.html} package.
 
 


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /