Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
sinesp-php-python
<?php
$placa = $_GET["placa"];
$python = shell_exec('python script.py '. $placa);
print_r($python);
?>
#!/usr/bin/python
#coding: utf-8
import sys
from sinesp_client import SinespClient
sc = SinespClient()
result = sc.search(sys.argv[1])
print result
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.