What is the fastest way to execute Python from PHP? -


what fastest way execute python php assuming need pass variables python script , result it?

by using popen() function:

$result = popen('python yourscript.py ' . $args, 'r'); 

Comments

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -