Question:
Good day, Can you tell me if it is possible to write a code as simple as for php in python?
if(isset($_POST['longitude'])) {
$lng = $_POST['longitude'];
}
If you can tell me how many thanks in advance
Answer:
StackOverflow.com . Various methods were collected there. I will quote the simplest
import cgi
post = cgi.FieldStorage()
if "longitude" in post:
lng = form["longitude"]
Also, check out the documentation .