I have Python script with a fucntion. I want to call this function from PHP while passing two parameters to the function.
What am i doing wrong here? :/
myscript.py
def InitPython(ID,Name):
'DO STUFF'
PHP
$varone='bleh';
$vartwo='blah';
$output = shell_exec("myscript.py '$varone' 'vartwo' ");