ScoDocMM/tests/testpyexcelerator.py

20 lines
301 B
Python
Raw Normal View History

2020-09-26 16:19:37 +02:00
# -*- mode: python -*-
# -*- coding: utf-8 -*-
import sys
from pyExcelerator import *
#UnicodeUtils.DEFAULT_ENCODING = 'utf-8'
wb = Workbook()
title = "Essai"
ws = wb.add_sheet(u"çelé")
ws.write(1,1, "çeci où".decode('utf-8'))
ws.write(2,2, "Hélène".decode('utf-8'))
wb.save("toto.xls")