https://docs.xlwings.org/zh_CN/latest/whatsnew.html#v0-20-0-jul-22-2020
https://docs.xlwings.org/zh_CN/latest/installation.html?highlight=python%203.8#prerequisites
v0.20.0 (Jul 22, 2020)
This version drops support for Python 3.5
Here are the last versions of xlwings to support:
- [Feature] New property
xlwings.App.status_bar
(GH1362). - [Enhancement]
xlwings.view()
now becomes the active window, making it easier to work with in interactive workflows (please speak up if you feel differently) (GH1353). - [Bug Fix] The UDF server has received a serious upgrade by njwhite, getting rid of the many issues that were around with using a combination of async functions and legacy dynamic arrays. You can now also call functions defined via
async def
, although for the time being they are still called synchronously from Excel (GH1010 and GH1164). -
安装
Prerequisites
- xlwings requires an installation of Excel and therefore only works on Windows and macOS. Note that macOS currently does not support UDFs.
- xlwings requires at least Python 3.6.
- Python 3.5: 0.19.5
- Python 2.7: 0.16.6
v0.19.5 (Jul 5, 2020)
- [Enhancement] When you install the add-in via
xlwings addin install
, it autoconfigures the add-in if it can’t find an existing user config file (GH1322). - [Feature] New
xlwings config create [--force]
command that autogenerates the user config file with the Python settings from which you run the command. Can be used to reset the add-in settings with the--force
option (GH1322). - [Feature]: There is a new option to show/hide the console window. Note that with
Conda Path
andConda Env
set, the console always pops up when using the UDF server. Currently only available on Windows (GH1182). - [Enhancement] The
Interpreter
setting has been deprecated in favor of platform-specific settings:Interpreter_Win
andInterpreter_Mac
, respectively. This allows you to use the sheet config unchanged on both platforms (GH1345). - [Enhancement] On macOS, you can now use a few environment-like variables in your settings:
$HOME
,$APPLICATIONS
,$DOCUMENTS
,$DESKTOP
(GH615). - [Bug Fix]: Async functions sometimes caused an error on older Excel versions without dynamic arrays (GH1341).