When comparing cx_Freeze vs Pyinstaller, the Slant community recommends cx_Freeze for most people. Run your script with python.exe script.py.(Optional) Use venv with python.exe -m venv env.(Optional for additional packeges used) Place venv(Python Virtual Enviroment) in same folder.Download Portable Python in Folder here.How do I run a Python program on another computer? PyInstaller can be used to convert Python programs into stand-alone executables, under Windows, Linux, Mac OS X, FreeBSD, Solaris, and AIX.
Yes, it is possible to compile Python scripts into standalone executables.