I call my script with http://domain/script.py How can I call the script with a parameter and get the parameter in the python script when I call it like http://domain/script.py?parmameter=value I can't find a solution or even find out if this is possible or not. Would be very happy fo a solution. Thanks to all.
edit: I run it now from php: http://domain/script.php?parmameter=value
<?php
if (isset($_GET['parmameter'])){
$myval = $_GET['parmameter'];
$command = escapeshellcmd("python script.py $myval" );
...
?>