[Tutor] Multiple file open
nitin chandra
nitinchandra1 at gmail.com
Sat Aug 21 05:51:04 CEST 2010
Thank You Very Much :) Walter..... It WOrked ....I did the "except" closing.
Thanks
Nitin
On Sat, Aug 21, 2010 at 2:17 AM, Walter Prins <wprins at gmail.com> wrote:
>
> Hello Nitin,
>
> On 20/08/10 16:21, nitin chandra wrote:
>>
>> import sys,os, fileinput
>>
>
> [...]
>>
>> while True:
>> try:
>> line1 = fp1.readline().split(",")
>> line2 = fp2.readline().split(",")
>>
>
> [...]
>>
>> fp3.write(str3)
>>
>
> You're missing the completion for the try/finally block. Try adding an
> exception handler or comment out the "try" statement for the time being.
>
> Walter
> _______________________________________________
> Tutor maillist - Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
>
More information about the Tutor
mailing list