0

How to you program exe files? i need to put my programs in there, and windows also wont let me open it at all.

Im not looking for answers with pyinstaller or any downloads.

all I need to do is put my source ".py" into an executable also, will this allow other computers to run my game without python? but if not I would still like to know how to make exe files with python language.

import turtle
from tk im...

...
turtle.done()
#~~220 lines of code

any help is taken as long as I don't have to pip anything. I just need to know how to put source code. I would also like an answer on opening them without windows blocking it.

ACMBitz7
  • 14
  • 3
  • 1
    *all I need to do is put my source ".py" into an executable*, if that's the plan, AFAIK that's exactly what `pyinstaller` is meant for. – vmemmap Mar 09 '22 at 14:08
  • Pyinstaller or py2exe are your best choices. Can you elaborate why you think Pyinstaller is not a valid option? – matszwecja Mar 09 '22 at 14:09
  • Python is intended to be interpreted, not compiled into standalone executables. There are tools that can create such executables if you want to, such as Pyinstaller or Nuitka; but these do require additional installations. – Schnitte Mar 09 '22 at 14:10
  • i dont want to pip, becuase it is always blocked, even if i use chocaltey or other stuff – ACMBitz7 Mar 10 '22 at 00:33
  • more specificaly, I want to know how to put any kind of source code into exe files. to run the machine code from it and i still need to know how to make them openal. – ACMBitz7 Mar 10 '22 at 00:40

0 Answers0