How can i do a small standalone python file

Hi. I’d like to create a standalone python file with great performance. I tried to compile via pyinstaller, but using pyinstaller, python will be low-performance, and using Nuitka python will not work on computers where there is no python.
How can i fix this trouble?

I don’t think pyinstaller would degrade the performance of your application. But in any case if you feel that such would be the case, then PyInstaller is quite flexible and can be extended in a variety of ways. There are other solutions like py2exe and the like, but I generally feel PyInstaller does the job quite nicely. It is what I use when building my kivy applications for the desktop environment.