How do i get form data in my Python code. Below is my current code.
import cgitb; cgitb.enable()
import cgi
import sys
form = cgi.FieldStorage()
name = form.getValue('name')
print 'Hello ' + name
How do i get form data in my Python code. Below is my current code.
import cgitb; cgitb.enable()
import cgi
import sys
form = cgi.FieldStorage()
name = form.getValue('name')
print 'Hello ' + name
You were close: