There are inconsistencies in the examples in the README file

Issue #19 resolved
wmj repo owner created an issue

Fix examples and convert to python3:

Issue reported by e-mail:

Tuve que modificar las llamadas

Por ejemplo

# imprime formato 'yaml' a stdout
o = format.convertFromCsb(csbFile, 'yaml')
print o.yaml


Debe ser formats (le falta la s)

# imprime formato 'yaml' a stdout
o = formats.convertFromCsb(csbFile, 'yaml')
print o.yaml


Igual pasa con la exportación a xls

# escribe a archivo en formato 'xlsx'
o = format*s*.convertFromCsb(csbFile, 'xlsx')
with open("movimientos.xlsx", "wb") as f:
    f.write(o.xlsx)

Comments (3)

  1. Log in to comment