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 triedf = open('paf', w)
f = open ("pag", "wb") f.write ("\xfe\xff") TJG -- http://mail.python.org/mailman/listinfo/python-list