"spex66" <spex66 at web.de> writes: > where does the second call of x.write() come from??? > > thanks for any hints The print statement prints the stuff you tell it, then prints a newline.