0
How can i use python compiler?
9 Antworten
+ 3
Python is not a compiled language. However, you can convert .py scripts into .exe using py2exe, cx_freeze or nuitka.
Those will, however, build the final application by including Python itself and all the libraries you use in the script. You might end up with a 10+MB file which just prints "Hello world!" ;)
+ 1
Do you mean to transform a .py file into a .exe or to run a python program ?
+ 1
py to exe??? I wasted too much time on that and gave up.
0
both
0
For .py to .exe I do not know but the second part is wrong in itself. Python is an interpreted language so there is no compiler.
0
i cant run python program via the python 2.7?
0
you can but they are not compiled
0
How can i use that?
0
If you use an IDE, there should be a "run" button (often a green arrow's head) on it, if you do not use an IDE but you are on linux, use the command python (you can find how by yourself if you truly are using linux ;) ). If you have neither an IDE nor linux, I do not know sorry :/