My job is about office automation. Make some automated scripts for other teams in the company.
My company use Window File Server to store, backup, share data between each team.
And my team had set up a process that how other teams use the scripts we had developed. It is that we put the .exe file on the file server and use some tools to connect all scripts and make a group for other teams respectively.
The problem is that when I put my .exe file (which created by python) on file server and start it, it needs almost 20 seconds to show up the UI. But when I start it locally it just needs 2 or 3 seconds.
My colleagues use VB.Net to develop .exe and not show this situation. It shows the UI as fast as locally openning it.
I use both pyinstaller and Nuitka to compile my python to an .exe file (--one directory) but has same result (Run slowly on the file server when start up). I know convert python code to c/c++ will improve the speed when start the .exe so I use Nuitka. It performs well locally actually.
I am fresh for the company and before I came in, they had developd 90+ scripts by this process. I think I can't change the work flow they had built.
BTW, I heard that python .exe will download all dependencies to local from file server and run, does it true?
Any idea for this situation? Thanks.