Passing a string argument by reference

Irmen de Jong irmen at -NOSPAM-REMOVETHIS-xs4all.nl
Mon Aug 4 14:11:03 EDT 2003


Andrew Chalk wrote:

> Thanks. You guessed correctly about what I am trying to do although I think
> the syntax is:
> 
> self.txtCIF = self.form.getvalue('txtCIF', self.txtCIF)

Please don't top-post.

Anyway it looks like form is actually a FieldStorage object from the cgi module,
am I right? It would have helped (a bit) if you pointed that out earlier.
But, never mind, it works now! Glad to be able to help you out.

--Irmen





More information about the Python-list mailing list