Qt for Python compilation question
-
wrote on 7 Sept 2023, 01:44 last edited by BAKI 9 Jul 2023, 01:45
How to compile a Python executable program into c language?
The execution speed of the general pyinstaller is too terrible for me I tried nuitka. But I think nuitka is too heavy.
I wonder what compilation tools you use to speed up Python executables, and if you know any other information.
Thanks for reading
-
How to compile a Python executable program into c language?
The execution speed of the general pyinstaller is too terrible for me I tried nuitka. But I think nuitka is too heavy.
I wonder what compilation tools you use to speed up Python executables, and if you know any other information.
Thanks for reading
wrote on 7 Sept 2023, 11:47 last edited by@BAKI , Python is an interpreted language, not compiled. Thus your question is meaningless. And it is also not Qt related...
If you need a speed of C - they why not use C? Yes, nuitka seems to be able to do the job for you and compile Python code into C but how you weighted its heaviness is also not clear. -
wrote on 8 Sept 2023, 08:36 last edited by
PySide6 provides a deployment tool based on Nuitka (see https://doc.qt.io/qtforpython-6/deployment/index.html#deployment-guides ).
1/3