summaryrefslogtreecommitdiff
path: root/Beginning_C_By_Ivon_Horton/chapter12.ipynb
diff options
context:
space:
mode:
authordebashisdeb2014-06-20 15:42:42 +0530
committerdebashisdeb2014-06-20 15:42:42 +0530
commit83c1bfceb1b681b4bb7253b47491be2d8b2014a1 (patch)
treef54eab21dd3d725d64a495fcd47c00d37abed004 /Beginning_C_By_Ivon_Horton/chapter12.ipynb
parenta78126bbe4443e9526a64df9d8245c4af8843044 (diff)
downloadPython-Textbook-Companions-83c1bfceb1b681b4bb7253b47491be2d8b2014a1.tar.gz
Python-Textbook-Companions-83c1bfceb1b681b4bb7253b47491be2d8b2014a1.tar.bz2
Python-Textbook-Companions-83c1bfceb1b681b4bb7253b47491be2d8b2014a1.zip
removing problem statements
Diffstat (limited to 'Beginning_C_By_Ivon_Horton/chapter12.ipynb')
-rw-r--r--Beginning_C_By_Ivon_Horton/chapter12.ipynb33
1 files changed, 7 insertions, 26 deletions
diff --git a/Beginning_C_By_Ivon_Horton/chapter12.ipynb b/Beginning_C_By_Ivon_Horton/chapter12.ipynb
index 71ea1f1a..b80c0151 100644
--- a/Beginning_C_By_Ivon_Horton/chapter12.ipynb
+++ b/Beginning_C_By_Ivon_Horton/chapter12.ipynb
@@ -1,6 +1,7 @@
{
"metadata": {
- "name": ""
+ "name": "",
+ "signature": "sha256:792ce9bacf230895f9bb69020ed0a90ab017f7ded1cf3c8298370c217c100f66"
},
"nbformat": 3,
"nbformat_minor": 0,
@@ -27,9 +28,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "\"\"\"\n",
- "Writing a file a character at a time\n",
- "\"\"\"\n",
+ "\n",
"\n",
"import sys\n",
"\n",
@@ -104,9 +103,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "\"\"\"\n",
- "As the saying goes. . .it comes back!\n",
- "\"\"\"\n",
+ "\n",
"\n",
"proverbs = [\"Many a mickle makes a muckle.\\n\",\n",
" \"Too many cooks spoil the broth.\\n\",\n",
@@ -198,9 +195,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "\"\"\"\n",
- "Messing about with formatted file I/O\n",
- "\"\"\"\n",
+ "\n",
"\n",
"import sys\n",
"\n",
@@ -278,11 +273,9 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# Program 12.4, page no. 514\n",
"\n",
- "\"\"\"\n",
- "A prime example using binary files\n",
- "\"\"\"\n",
+ "\n",
+ "\n",
"\n",
"import math\n",
"import sys\n",
@@ -412,11 +405,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# Program 12.5, page no. 523\n",
"\n",
- "\"\"\"\n",
- "Investigating the family.\n",
- "\"\"\"\n",
"\n",
"class Date:\n",
" day = 0\n",
@@ -512,11 +501,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# Program 12.6, page no. 531\n",
"\n",
- "\"\"\"\n",
- "Writing a binary file with an update mode\n",
- "\"\"\"\n",
"\n",
"MAXLEN = 50\n",
"\n",
@@ -564,11 +549,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# Program 12.7, page no. 545\n",
"\n",
- "\"\"\"\n",
- "Writing, reading and updating a binary file\n",
- "\"\"\"\n",
"\n",
"class Record:\n",
" name = \"\"\n",