From e9b883b771b1bb50358b304a26bda9447596318b Mon Sep 17 00:00:00 2001 From: Mark Pilgrim Date: Thu, 16 Jul 2009 11:22:11 -0400 Subject: [PATCH] update navigation, TOC, index --- diveintopython3.org | 29 ++++++++++++++++------------- index.html | 2 +- table-of-contents.html | 2 +- xml.html | 2 +- 4 files changed, 19 insertions(+), 16 deletions(-) diff --git a/diveintopython3.org b/diveintopython3.org index b05a469..ee9a8ef 100755 --- a/diveintopython3.org +++ b/diveintopython3.org @@ -13,21 +13,24 @@ * TODO 2nd draft Refactoring * TODO 1st draft Advanced Classes * TODO 1st draft Files -** File objects +** Reading from text files *** Opening a file (to read) -*** Reading data from a file -*** Closing a file -*** Checking if a file is closed -*** with open(...) as file -*** Reading data from a file one line at a time -*** Line-endings -*** Opening a file (to write) -*** Writing to files -*** Handling I/O errors *** Character encoding -*** Binary mode -*** File-like objects -**** +*** File objects +*** Closing a file +**** Checking if a file is closed +**** "with open(...) as file" pattern +*** Reading data from a file one line at a time +**** Line-endings +** Writing to text files +*** Opening a file (to write) +*** Character encoding again +*** write(), writelines(), .writeable +** Handling I/O errors +** Binary files +** File-like objects +** Standard Input, Output, and Error +** Further reading * TODO 2nd draft XML * TODO 1st draft Serializing Python Objects * DONE 2nd draft HTTP Web Services diff --git a/index.html b/index.html index 7e518bd..3bf469f 100644 --- a/index.html +++ b/index.html @@ -38,7 +38,7 @@ h1:before{content:''}
  • Advanced Unit Testing
  • Refactoring
  • Advanced Classes -
  • Files +
  • Files
  • XML
  • Serializing Python Objects
  • HTTP Web Services diff --git a/table-of-contents.html b/table-of-contents.html index cf52ca8..cd70f69 100755 --- a/table-of-contents.html +++ b/table-of-contents.html @@ -184,7 +184,7 @@ ul li ol{margin:0;padding:0 0 0 2.5em}
    1. Diving in
    -
  • Files +
  • Files
    1. File objects
    2. Reading files diff --git a/xml.html b/xml.html index b2ecc48..dd3f0e4 100755 --- a/xml.html +++ b/xml.html @@ -640,7 +640,7 @@ lxml.etree.XMLSyntaxError: Entity 'hellip' not defined, line 3, column 28
    3. XPath and XSLT with lxml -

      +

      © 2001–9 Mark Pilgrim