Exponentielle pour calcul humidité absolue Python Scenario tag

Oui pardon
il faut faire
from sys import argv

voilà un truc un peut plus complet

$tags = $scenario->getTags();
$t = $tags['#t#'];
$rh = $tags['#rh#'];
$req='python3 monscript.py '.$t.' '.$rh ;
$scenario->setLog('DEBUG REQUETTE : '.$req);
$rep = shell_exec($req);
$scenario->setLog('DEBUG RETOUR : '.$rep);
$tags = $scenario->getTags();
$tags['#rep#'] = $rep;
$scenario->setTags($tags);
1 « J'aime »