On 07/08/2012 13:37, Ramchandra Apte wrote:
Imagine a book.
.read(num) reads a page of the book
Now if you call again it goes to the next page.
Please don't top post. This is now the fourth time you've been asked.
--
Cheers.
Mark Lawrence.
___
>
> Imagine a book.
>
.read(num) reads a page of the book
Now if you call again it goes to the next page.
> Tutor maillist - Tutor@python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
>
___
Tutor m
On Tue, Aug 7, 2012 at 5:12 AM, Mark Lawrence wrote:
> On 04/08/2012 22:51, Brad Dutton wrote:
>>
>> I recently discovered how to read from a file but I've having some trouble
>> with it. I made a short example program that goes like this:
>>
>>
>> 1. fob = open('c:/python27/a.txt', 'r')
>>
On 04/08/2012 22:51, Brad Dutton wrote:
I recently discovered how to read from a file but I've having some trouble
with it. I made a short example program that goes like this:
1. fob = open('c:/python27/a.txt', 'r')
2.
3. print fob.read()
4. print fob.read()
When it runs it ret
Brad Dutton wrote:
> I recently discovered how to read from a file but I've having some trouble
> with it. I made a short example program that goes like this:
>
>
>1. fob = open('c:/python27/a.txt', 'r')
>2.
>3. print fob.read()
>4. print fob.read()
>
> When it runs it returns t
I recently discovered how to read from a file but I've having some trouble
with it. I made a short example program that goes like this:
1. fob = open('c:/python27/a.txt', 'r')
2.
3. print fob.read()
4. print fob.read()
When it runs it returns this:
1. Hey now brown cow
2.
It