git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to create an Excel app that runs Python?


On Wednesday, 25 March 2020 12:13:58 UTC, Gisle Vanem  wrote:
> 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

Hello Gisle,

Thanks for your answer. To do this I assume that first I need to create an app with Tkinter or can I just do this .exe simply with the multiple files I already have?

Thanks!