زياد بن عبدالعزيز الباتلي wrote:
> Alan Gauld wrote:
>> "Diana Hawksworth" <[EMAIL PROTECTED]> wrote
>>
>>> How do I find a particular name, change the score and then save
>>> the changes back to the text file again??
>> iterate over the file checking (and modifying) each line
>> write the line bac
Alan Gauld wrote:
> "Diana Hawksworth" <[EMAIL PROTECTED]> wrote
>
>> How do I find a particular name, change the score and then save
>> the changes back to the text file again??
>
> iterate over the file checking (and modifying) each line
> write the line back out:
>
> Pseudo code
>
> Out = op
"Diana Hawksworth" <[EMAIL PROTECTED]> wrote
> How do I find a particular name, change the score and then save
> the changes back to the text file again??
iterate over the file checking (and modifying) each line
write the line back out:
Pseudo code
Out = open('foo.txt','w')
for line in file('f