Newbie: Pass Value

Shengquan Liang liang at cad.gatech.edu
Thu Jun 8 15:18:20 EDT 2000


 in the main progam, i call a method 
populate (), and pupulate  call another
method assign() .

 like this: 
	     populate(assign())
 in the assign() method i assign values of fields in a form.
 populate() takes values from assign and put those values
 into a table and draw it out.
 so far so good.

 Now, i want to pass some input from user to the method assign()
 and let assign() do some processing.  Say the varible in assign()
 is post.   How do i pass the value of user input to "post"?

 e.g.       populate(assign(post= form1["InputNumber"]) )

in this statement i'm trying to assign a value collected from 
a HTML form field to "post".  but it seems that it is not successful.

any comments will be appreciated.


regards,

sqL



More information about the Python-list mailing list