Hello!
Here is a CGI script: #!/usr/bin/python # Import modules for CGI handling import cgi, cgitb # from __future__ import division # from sympy import init_printing integrate Symbol exp cos erf # Create instance of FieldStorage form = cgi.FieldStorage() # Get data from fields first_name = form.getvalue('first_name') # x = symbols('x') # a = integrate(first_name,x) print "Content-type:text/html\r\n\r\n" print "<html>" print "<head>" print "<title>Hello - Second CGI Program</title>" print "</head>" print "<body>" print "<h2>Hello %s </h2>" % first_name print "</body>" print "</html>" Note that I have commented out the from lines. The script will not run when they are uncommented. How do I bring in the division and the sympy module, please? Thanks so much! Sincerely, Erin -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscr...@googlegroups.com. To post to this group, send email to sympy@googlegroups.com. Visit this group at http://groups.google.com/group/sympy. For more options, visit https://groups.google.com/groups/opt_out.