Re: error: an integer is required

2009-06-14 Thread jeni
gt;      t.write(strng) > >      t.close() > > > I'm getting this error: > > > : an integer is required > > > Where is the mistake? > > Help me, please!! > > Tell us the Python version and give the *full* traceback message, not > just the la

Re: error: an integer is required

2009-06-08 Thread Terry Reedy
madigre...@yahoo.gr wrote: I execute my code in linux environment. My code is: from os import * def insert_text_file(self, strng): t=open("elements_file.txt", "a") t.write(strng) t.close() I'm getting this error: : an integer is required Where is the

Re: error: an integer is required

2009-06-08 Thread MRAB
madigre...@yahoo.gr wrote: I execute my code in linux environment. My code is: from os import * def insert_text_file(self, strng): t=open("elements_file.txt", "a") t.write(strng) t.close() I'm getting this error: : an integer is required Where is the

error: an integer is required

2009-06-08 Thread madigreece
I execute my code in linux environment. My code is: from os import * def insert_text_file(self, strng): t=open("elements_file.txt", "a") t.write(strng) t.close() I'm getting this error: : an integer is required Where is the mistake? Help me, please!! -