PHP tutorial : Passing PHP variable to Pyton (file.py)

preview_player
Показать описание
How to passing php variable into a pyton .py (very easy..bro).

-------

php :

python :
import sys

Рекомендации по теме
Комментарии
Автор

oooo man i have been looking for this method since hours....thanks for it

upendrachaudhari
Автор

not working
not able to understand what to write in shell_exec

AK_Develops
Автор

Your video was very useful, now i want to send parameters to a specific method on my python class, how could i do it? thanks in advance

osvaldosalazartovar
Автор

Very nice tutorial !
Actually when i import nltk library or other libraries in my python script, it shows no output, there is no execution.
Could you please help me with that ?

lambertnjambe
Автор

The code works for windows too, try this:
$result = /path/to/your/script.py ')

sukrutshishupal
Автор

had to use 'py' instead of 'python' in shell_exec

ohtanner
Автор

Hello there, how can i find a full python binary path under my WAMP installatyion on Windows? I have both php and python file under the path 'C:\wamp64\www\python_test'. What would be the correct path? Help lease

marcelliniewiecki
Автор

Your video was very useful at all, but i am using raspberry pi 2 and your video has worked at all but now i want to run GPIO commands on it can anybody or you give me a tutorial about it.... Thanks

demirozdemir
Автор

How about like this "Hello hi" so i can get only first "hello"

mengkhornkan
Автор

Your going so fast I can’t read what’s happening. Useless.

sandwichtube