How to create an Excel app that runs Python?

Gisle Vanem gisle.vanem at gmail.com
Wed Mar 25 08:13:42 EDT 2020


Grant Edwards wrote:

> On 2020-03-24, oliver <oliver.schoenborn at gmail.com> wrote:
> 
>> Use the win32com library to interact with Excel via COM.
> 
> Huh?  I thought that the users have no way of running a local Python
> app.

Maybe creating a self-contained .exe using PyInstaller?
For me, this:
   pyinstaller.exe --noconfirm --console --onefile file.py

creates a 'dist/file.exe' that depend on nothing but
system libraries. But it's 5 MByte though.


-- 
--gv


More information about the Python-list mailing list