--- /tmp/xlwt-1.3.0-3x0n60usf/debian/python-xlwt-doc_1.3.0-3_all.deb +++ python-xlwt-doc_1.3.0-3_all.deb ├── file list │ @@ -1,3 +1,3 @@ │ -rw-r--r-- 0 0 0 4 2020-02-16 15:39:50.000000 debian-binary │ --rw-r--r-- 0 0 0 2568 2020-02-16 15:39:50.000000 control.tar.xz │ --rw-r--r-- 0 0 0 51732 2020-02-16 15:39:50.000000 data.tar.xz │ +-rw-r--r-- 0 0 0 2564 2020-02-16 15:39:50.000000 control.tar.xz │ +-rw-r--r-- 0 0 0 51724 2020-02-16 15:39:50.000000 data.tar.xz ├── control.tar.xz │ ├── control.tar │ │ ├── ./md5sums │ │ │ ├── ./md5sums │ │ │ │┄ Files differ ├── data.tar.xz │ ├── data.tar │ │ ├── file list │ │ │ @@ -57,16 +57,16 @@ │ │ │ -rw-r--r-- 0 root (0) root (0) 4146 2020-02-16 15:39:50.000000 ./usr/share/doc/python-xlwt-doc/html/_static/classic.css │ │ │ -rw-r--r-- 0 root (0) root (0) 309 2020-02-16 15:39:50.000000 ./usr/share/doc/python-xlwt-doc/html/_static/documentation_options.js │ │ │ -rw-r--r-- 0 root (0) root (0) 286 2019-03-09 14:07:37.000000 ./usr/share/doc/python-xlwt-doc/html/_static/file.png │ │ │ -rw-r--r-- 0 root (0) root (0) 10847 2020-02-16 15:39:50.000000 ./usr/share/doc/python-xlwt-doc/html/_static/language_data.js │ │ │ -rw-r--r-- 0 root (0) root (0) 90 2019-03-09 14:07:37.000000 ./usr/share/doc/python-xlwt-doc/html/_static/minus.png │ │ │ -rw-r--r-- 0 root (0) root (0) 90 2019-03-09 14:07:37.000000 ./usr/share/doc/python-xlwt-doc/html/_static/plus.png │ │ │ -rw-r--r-- 0 root (0) root (0) 4395 2020-02-16 15:39:50.000000 ./usr/share/doc/python-xlwt-doc/html/_static/pygments.css │ │ │ --rw-r--r-- 0 root (0) root (0) 21333 2020-02-16 15:39:50.000000 ./usr/share/doc/python-xlwt-doc/html/api.html │ │ │ --rw-r--r-- 0 root (0) root (0) 15201 2020-02-16 15:39:50.000000 ./usr/share/doc/python-xlwt-doc/html/changes.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 21342 2020-02-16 15:39:50.000000 ./usr/share/doc/python-xlwt-doc/html/api.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 15205 2020-02-16 15:39:50.000000 ./usr/share/doc/python-xlwt-doc/html/changes.html │ │ │ -rw-r--r-- 0 root (0) root (0) 8335 2020-02-16 15:39:50.000000 ./usr/share/doc/python-xlwt-doc/html/development.html │ │ │ -rw-r--r-- 0 root (0) root (0) 6008 2020-02-16 15:39:50.000000 ./usr/share/doc/python-xlwt-doc/html/genindex.html │ │ │ -rw-r--r-- 0 root (0) root (0) 5828 2020-02-16 15:39:50.000000 ./usr/share/doc/python-xlwt-doc/html/index.html │ │ │ -rw-r--r-- 0 root (0) root (0) 5510 2020-02-16 15:39:50.000000 ./usr/share/doc/python-xlwt-doc/html/installation.html │ │ │ -rw-r--r-- 0 root (0) root (0) 20123 2020-02-16 15:39:50.000000 ./usr/share/doc/python-xlwt-doc/html/licenses.html │ │ │ -rw-r--r-- 0 root (0) root (0) 477 2020-02-16 15:39:50.000000 ./usr/share/doc/python-xlwt-doc/html/objects.inv │ │ │ -rw-r--r-- 0 root (0) root (0) 5460 2020-02-16 15:39:50.000000 ./usr/share/doc/python-xlwt-doc/html/py-modindex.html │ │ ├── ./usr/share/doc/python-xlwt-doc/html/api.html │ │ │ @@ -84,15 +84,15 @@ │ │ │
Parameters: | filename_or_stream – This can be a string containing a filename of
│ │ │ the file, in which case the excel file is saved to disk using the name
│ │ │ provided. It can also be a stream object with a write method, such as
│ │ │ -a StringIO , in which case the data for the excel
│ │ │ +a StringIO , in which case the data for the excel
│ │ │ file is written to the stream. |
│ │ │
---|
The data value to be written.
│ │ │ -An int
, long
, or
│ │ │ -Decimal
instance is converted to float
.
A unicode
instance is written as is. A bytes
│ │ │ +
An int
, long
, or
│ │ │ +Decimal
instance is converted to float
.
A unicode
instance is written as is. A bytes
│ │ │ instance is converted to unicode
using the
│ │ │ encoding, which defaults to ascii
, specified when the
│ │ │ Workbook
instance was created.
A datetime
, date
or
│ │ │ -time
instance is converted into Excel date format
│ │ │ +
A datetime
, date
or
│ │ │ +time
instance is converted into Excel date format
│ │ │ (a float representing the number of days since (typically)
│ │ │ 1899-12-31T00:00:00
, under the pretence that
│ │ │ 1900 was a leap year).
A bool
instance will show up as TRUE
or FALSE
in
│ │ │ +
A bool
instance will show up as TRUE
or FALSE
in
│ │ │ Excel.
None
causes the cell to be blank: no data, only formatting.
An xlwt.Formula
instance causes an Excel formula to be
│ │ │ written.
A style, also known as an XF (extended format), is an
│ │ │ XFStyle
object, which encapsulates the
│ │ ├── ./usr/share/doc/python-xlwt-doc/html/changes.html
│ │ │ @@ -61,15 +61,15 @@
│ │ │
LOCALE
from regular expression that caused
│ │ │ -DeprecationWarning
that become an exception in Python 3.6DeprecationWarning
that become an exception in Python 3.6
│ │ │ Workbook.sheet_index()
helper.Workbook.get_sheet()
now takes either a string name or an integer
│ │ │ index.ValueError
is now raised immediately if an attempt is made to set
│ │ │ +ValueError
is now raised immediately if an attempt is made to set
│ │ │ column width to other than an int in range(65536)
datemode
in an xlwt Workbook
can be set to 1904 by doing
│ │ │ workbook.dates_1904 = 1
and is written to the output file. However the
│ │ │ datemode was not being reflected in conversions from
│ │ │ -datetime.datetime
and datetime.date
objects to floats for
│ │ │ +datetime.datetime
and datetime.date
objects to floats for
│ │ │ output, resulting in dates that were 4 years too high when seen in Excel.