Quantcast
Channel: Running a Python script from PHP - Stack Overflow
Viewing all articles
Browse latest Browse all 12

Answer by Kirill Morozov for Running a Python script from PHP

$
0
0

All the options above create new system process. Which is a performance nightmare.For this purpose I stitched together PHP module with "transparent" calls to Python.

https://github.com/kirmorozov/runpy

It may be tricky to compile, but will save system processes and will let you keep Python runtime between PHP calls.


Viewing all articles
Browse latest Browse all 12

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>