A quick explanation for people looking to solve the same problem. The code below in the plotting script reads the data passed on to the FieldStorage and converts it to a normal python dictionary.
Code:
form = cgi.FieldStorage() d={} for key in form: d[key]=form[key].value
Leave a comment: