I created some data processing scripts and they need to be executed on daily bases , but the number of PCs are nearly 150 and i cant manually Python install on all of them.
So i need a way to get these working on those Windows systems, i tried PyInstaller to create exe and placed it on server but the script execution is taking a lot of time in initial phase (program execution is the same but takes time to load with a blinking cursor) maybe it’s the load of the dependencies , file is nearly 36 MB.
Is there a possible way to execute that .py file in an environment without python installed or creating a python environment and setting up paths variables using a .bat script in the host PC? What other options do I have without asking everyone to manually install anything? I heard that docker can be used in such case but working in a local environment should I deploy such a thing?
pyinstaller
doesn't create installer but self-extracting .zip file which deletes extracted files at the end - so next time it has to extract all files again.pyinstaller
can also create folder with all files and then you can create real installer using other tools. And then it would have to extract files only once and maybe it would works faster after installing. – Leda