<gh_stars>1-10
#!/usr/bin/env python
#coding:utf-8
# Purpose: example make_refshett.py
# Created: 05.02.2011
# Copyright (C) 2011, <NAME>
# License: MIT
from __future__ import unicode_literals, print_function, division
__author__ = "mozman <<EMAIL>>"

import ezodf2

NCOLS=10
NROWS=10

ods = ezodf2.newdoc('ods', 'refsheet.ods')

sheet = ezodf2.Sheet('REFS', size=(NROWS, NCOLS))
ods.sheets += sheet

for row in range(NROWS):
    for col in range(NCOLS):
        content = chr(ord('A') + col) + str(row+1)
        sheet[row, col].set_value(content)

ods.save()

#!/usr/bin/env python
#coding:utf-8
# Purpose: example make_refshett.py
# Created: 05.02.2011
# Copyright (C) 2011, <NAME>
# License: MIT
from __future__ import unicode_literals, print_function, division
__author__ = "mozman <<EMAIL>>"

import ezodf2

NCOLS=10
NROWS=10

ods = ezodf2.newdoc('ods', 'refsheet.ods')

sheet = ezodf2.Sheet('REFS', size=(NROWS, NCOLS))
ods.sheets += sheet

for row in range(NROWS):
    for col in range(NCOLS):
        content = chr(ord('A') + col) + str(row+1)
        sheet[row, col].set_value(content)

ods.save()
#!/usr/bin/env python #coding:utf-8 # Purpose: example make_refshett.py # Created: 05.02.2011 # Copyright (C) 2011, <NAME> # License: MIT