Hi all, I'm just beginning with programming and Python. Writing a file using this: >>> f=open("testpy",'wd') >>> f.write(chr(10)) >>> f.close() When I open the file with HexEdit I see: 0000: 0D 0A I expected 0000: 0A What's wrong? Ingo -- Photography: http://members.home.nl/ingoogni/ Pov-Ray : http://members.home.nl/seed7/