Re:Microsoft is bringing Python to Excel
by skrause on Tuesday August 22, 2023 @01:55PM
(#37226346)
You can just ship a copy of Python with Excel, no need to ask anybody to maintain their own installation.
[ Parent
| on HN ]
Re:Microsoft is bringing Python to Excel
by ryanisnan on Tuesday August 22, 2023 @02:57PM
(#37227072)
This. Why you would leverage system python is beyond me.
Re:Microsoft is bringing Python to Excel
by ivirshup on Tuesday August 22, 2023 @06:52PM
(#37229643)
Anaconda distributions aren't exactly small. I'd also assume there's some sort of environment isolation, so you're getting multiple copies. Maybe one per workbook?
No need to use Anaconda or any general purpose venv solution. Microsoft screwed this up.
The embeddable package from python.org [1] is 20 MB unpacked. To install different sets of packages per workbook, just (edit: have Excel automatically) modify the module path as appropriate.