Hi, I have a very simple problem yet I can't find out how to do it for the life of me. I am creating a simple CGI script with Python and part of it needs a HTML form. This is what I have so far (excludes imports, etc):
font_size = 9
print "<form name='input' action='Player.py' method='get'>"
print "Set Volume: <input type='text' name='volume' />"
print "<input type='submit' value='Submit' />"
print "</form>"
I would like to pass my 'font_size' variable along with the form submission so that my next script knows what font size to use.
How can I do this?
Thanks in advance.