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'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -