From 85f52117ae2aa97df99ea3e6185fff6d6d756811 Mon Sep 17 00:00:00 2001 From: Mark Pilgrim Date: Thu, 16 Jul 2009 09:54:28 -0400 Subject: [PATCH] outline for files chapter --- diveintopython3.org | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/diveintopython3.org b/diveintopython3.org index 457e935..b05a469 100755 --- a/diveintopython3.org +++ b/diveintopython3.org @@ -13,6 +13,21 @@ * TODO 2nd draft Refactoring * TODO 1st draft Advanced Classes * TODO 1st draft Files +** File objects +*** 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 +**** * TODO 2nd draft XML * TODO 1st draft Serializing Python Objects * DONE 2nd draft HTTP Web Services