list = [Blarg, T2, T3]
Rewrite(List)
def Rewrite(New2):
List_Length = len(New2)
L = 0
with open('Chronologiser2.BCF', 'w') as file_output:
file_output('')
while L < List_Length:
with open('Chronologiser2.BCF', 'a') as file_output:
Current_Text = New2[L]
file_output(str(Current_Text) + '/n')
L += 1
Can someone explain to me why i keep getting the 'TypeError: '_io.TextIOWrapper' object is not callable' error, I've wracked my brain, looked at similair questions but still nothing
you need to call the write
method of file_output
, not call it directly:
file_output.write('')
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With