Re: DBF (VFP) to XLS (Excel) in pure Python

2010-12-02 Thread Ethan Furman
kirby.ur...@gmail.com wrote: Some ideas: for (i, name) in enumerate(thedbf.field_names): sheet1.write(0, i, name, header_style) thetype = thedbf.type(name) thelen, thedec = thedbf.size(name) if thetype == "M": thelen = 100 elif thelen == 0:

Re: DBF (VFP) to XLS (Excel) in pure Python

2010-12-02 Thread kirby.ur...@gmail.com
On Dec 1, 10:28 pm, "kirby.ur...@gmail.com" wrote: > Playing around with arcane tools to read those pesky DBF files (with > memo fields), like floating wine barrels cast off the sinking VFP > ship. > Although it's true I don't know that I'm getting "in memory" DBF reads, the bulk of the time in t

DBF (VFP) to XLS (Excel) in pure Python

2010-12-01 Thread kirby.ur...@gmail.com
Playing around with arcane tools to read those pesky DBF files (with memo fields), like floating wine barrels cast off the sinking VFP ship. http://pypi.python.org/pypi/dbf http://packages.python.org/dbf/dbf-module.html Me threading on comp.lang.python: http://bit.ly/e547Za xlwt and xlrt for rea