I am developing some scripts that I am planning to use in my LAB. Currently I installed Python and all the required modules only locally on the station that I am working with (the development station).
I would like to be able to run the scripts that i develop through each of my LAB stations.
What is the best practice to do that ?
Will I need to Install the same environment, except for the IDE of course, in all my stations ? If yes, then what is the recommended way to do that ?
By the way, is it mostly recommended to run those scripts from the command line screen (Windows) or is there any other elegant way to do that ?
If you want to run a single script on multiple computers without installing Python everywhere you can "compile" the script to .exe using py2exe, cx_Freeze or PyInstall. The "compilation" actually packs Python and libraries into the generated .exe or accompanied files.
But if you plan to run many Python scripts you'd better install Python everywhere and distribute your scripts and libraries as Python packages (eggs or wheels).
What is the best practice for running a python script?