changeset 292 | de96931fac21 |
parent 245 | 3ed6ef2ea91f |
child 345 | d82151cc11f5 |
--- a/getting-started-files/questions.rst Sun Oct 10 15:34:34 2010 +0530 +++ b/getting-started-files/questions.rst Sun Oct 10 15:40:19 2010 +0530 @@ -37,7 +37,7 @@ What is the value of content, at the end of this code block:: f = open('hello.txt') - content = f.read() + pre_content = f.read() content = f.read() f.close() @@ -126,7 +126,7 @@ .. A minimum of 2 questions here. -1. f.read(size) +1. What does ``f.read(size)`` do? #. Print every alternate line of a file, starting at the first line.