I'm wondering what the units of column width are in xlrd and xlwt, in
particular:
- do xlrd and xlwt both use the same units for column width?
- if so, what are they?
- how do they relate to the size of the column in pixels and/or the size
that excel shows when you drag the column to a certain size?
cheers,
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
Yes.
>
> - if so, what are they?
Read the xlrd documentation for the following:
Colinfo.width
Sheet.computed_column_width
Sheet.defcolwidth # note scaled by 256 c.f. the others
Sheet.standardwidth
>
> - how do they relate to the size of the column in pixels and/or the size
> that excel shows when you drag the column to a certain size?
AFAIK, this is an MS trade secret. See xlrd.Sheet.defcolwidth docs.