Hi, The following code: fh = open("myfile.pot", "r") ... fh.seek(-1,1) ... produces an error: [IOError 22] Invalid Argument under MS Windows (XP). It works fine under Unix, though (for years). I appriciate any help. Thanks, Frank.