TonyB wrote:
> I tried
>
> f.write(struct.pack('=h',thevariable))
>
> and it works.Great! :) Regards, Björn -- BOFH excuse #45: virus attack, luser responsible -- http://mail.python.org/mailman/listinfo/python-list
TonyB wrote:
> I tried
>
> f.write(struct.pack('=h',thevariable))
>
> and it works.Great! :) Regards, Björn -- BOFH excuse #45: virus attack, luser responsible -- http://mail.python.org/mailman/listinfo/python-list