PHP tutorial : Passing PHP variable to Pyton (file.py)
Channel:
Subscribers:
4,970
Published on ● Video Link: https://www.youtube.com/watch?v=FqBAxAKDjnY
How to passing php variable into a pyton .py (very easy..bro).
-------
php :
shell_exec("python file.py $param1 $param2")
python :
import sys
x = sys.argv[1]
y = sys.argv[2]
Other Videos By Ambar Hasbiyatmoko
Tags:
python
php
passing
parameter
tutorial
file
script
example
ubuntu
linux
browser