Re: why not?
On 22/01/13 04:02, firstname.lastname@example.org wrote:
> f = open(r'c:\text\somefile.txt')
> for i in range(3):
> print str(i) + ': ' + f.readline(),
> please with the print str(i) + ‘: ‘ + f.readline(), why not print str(i)
> + f.readline(),
Try running both code. What do you see? What's the difference? When do
you think you might want one or the other?
|All times are GMT. The time now is 05:53 PM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.