"Egor Bolonev" <ebolonev at mail.ru> writes: > How about that? > f=open('1','wb') > f.write(something) > print len(f) > Should I close file for get it size or should I write a C-like function with > seek(end),tell, seek(old)? No. You should use os.fstat, or os.stat if you still remember the file name. Regards, Martin