#!/usr/bin/python # Import modules for CGI handling import cgi, cgitb # Import pscore table calculation algorithm import pscore_table # import pscore_plot # Create instance of FieldStorage form = cgi.FieldStorage() # Get data from fields sequence = form.getvalue('sequence').replace('\r','').replace('\n','') if len(sequence)<140: print "Content-type:text/html\n" print "" print "
" print "%s
" % (table) # print "%s
" % (seq_n) # print "%s
" % (pscore) print "" print ""