I love the simplicity of Python but have a question - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: I love the simplicity of Python but have a question (/thread-15505.html) |
I love the simplicity of Python but have a question - Jeff_Waldrop - Jan-20-2019 Can Python code be compiled as an EXE say to run inside a Win Console window? Jeff RE: I love the simplicity of Python but have a question - metulburr - Jan-20-2019 yes you can with numerous tools. PyInstaller has probably become the best lately. https://python-forum.io/Thread-Building-an-exe-with-Py2exe RE: I love the simplicity of Python but have a question - ichabod801 - Jan-20-2019 It's not exactly compiling, but there are applications that can create an .exe out of a Python program. RE: I love the simplicity of Python but have a question - snippsat - Jan-20-2019 Yes,probably the best today is pyinstaller work Python 3.7. There are several other,but eg py2exe did stoop develop at Python 3.4. pynsist is packed a installer,also a GUI installer window with the normal next --> next until installed. RE: I love the simplicity of Python but have a question - Nwb - Jan-20-2019 Quote:It's not exactly compiling, but there are applications that can create an .exe out of a Python program. How do they do that? For instance Python allocates enough memory to store a number (correct me if I'm wrong) as it gets it at runtime. But if it were compiled, and I type a 90 digit number then the code would break.. RE: I love the simplicity of Python but have a question - DeaD_EyE - Jan-20-2019 The executable binary file includes the interpreter and dependencies, if you prefer a one-file-executable. The interpreter runs the embedded Source Code or Byte Code. It's still dynamic typed. RE: I love the simplicity of Python but have a question - Jeff_Waldrop - Feb-04-2019 Python, initially seems to bo the language I wish to learn. Just want to be able to share code(program) with another user who doesn’t have to execute a scrip with python on their computer. I have a need to develop utility style programs to work with computations that output to simple text files. Jeff |