[Zope] How to pass a Z SQL method a variable from a Python Script?

Kevin Carlson khcarlso@bellsouth.net
Tue, 14 Jan 2003 13:49:38 -0500


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body>
container.send_to_database(CName=CName, email=email, phone=phone)<br>
<br>
<br>
Sage Mo wrote:<br>
<blockquote type="cite"
 cite="mid000901c2bbfc$d5974ad0$3b2e1a42@BooCooShow">
  <meta http-equiv="Content-Type" content="text/html; ">
  <meta content="MSHTML 6.00.2600.0" name="GENERATOR">
  <style></style>
  <div><font face="Arial" size="2">This is probably a very basic
question, but it's been stopping me for hours (very frustrating).</font></div>
  <div>&nbsp;</div>
  <div><font face="Arial" size="2">I have a Python script that's trying
to pass variables into a Z SQL method. In the Python script I wrote:</font></div>
  <div>&nbsp;</div>
  <div><font face="Arial" size="2">container.send_to_database(CName,
email, phone)</font></div>
  <div>&nbsp;</div>
  <div><font face="Arial" size="2">where send_to_database is the Z SQL
Method.</font></div>
</blockquote>
</body>
</html>