On 13/08/2010 10:45, Jean-Michel Pichavant wrote: > My problem is however simplier : how do I add such character at the > begining of the file ? > I tried > > f = open('paf', w) f = open ("pag", "wb") f.write ("\xfe\xff") TJG