[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Creating Win .exe file from *.py on Linux

> On Oct 2, 2018, at 3:03 PM, John Doe <john at doe.com> wrote:
> Hello World
> Is it possible to create on Linux win .exe file from *.py file?
> -- 
> https://mail.python.org/mailman/listinfo/python-list

As was pointed out here a day or so ago, the answer is yes, but it is a two step process.  First step is to use Cython to compile the python file to C source, then compile that to a binary executable.  The link given was:


Where the focus is keeping the python source away from prying eyes, but it generates exactly what you want.