0

What does it take for python to become a compiled language. Rather than using it's pyinstaller module which does not always work

Python

23rd Jan 2021, 11:30 PM
Maarifa Shaib Maarifa
Maarifa Shaib Maarifa - avatar
3 Réponses
+ 2
Python IS an interpreted language, you cannot change that. You can package your application, so it would be able to run on a machine where Python is not installed. There are several utilities for it apart from PyInstaller. But this makes the application bound to an operating system. You can also run a python program / script anywhere, where python is installed already (as long as the dependency libraries are also installed) . https://www.sololearn.com/learning/2491/ https://realpython.com/pyinstaller-python/
24th Jan 2021, 6:13 AM
Tibor Santa
Tibor Santa - avatar
0
Also you can use nuitka that compiles the script. It concerts it into C. https://nuitka.com
30th Jan 2021, 12:25 AM
GeraltdeRivia
0
Apart of Python being an interpreted Language. For it to be purely compiled, one will need to make it's compiler. Due to a huge distance of Python from machine code (It is a high level language). It's compiler will be more complicated and will take more time to compile the code compared to compiling C source code which is much more closer to the machine code compared to Python.
6th Apr 2021, 12:30 AM
Maarifa Shaib Maarifa
Maarifa Shaib Maarifa - avatar