4 ms·
Another route is to compile via Cython with the interpreter embedded. https://github.com/cython/cython/tree/master/Demos/embed https://github.com/cython/cython
by p4wnc6 11y ago
Another route is to compile via Cython with the interpreter embedded.
https://github.com/cython/cython/tree/master/Demos/embed https://github.com/cython/cython/tree/master/Demos/embed
You could take your existing Python code and simply change the .py extension to .pyx and compile with the `--embed` option.
Of course, it requires compile dependence on Cython.