ronrsr wrote:
> Thank you, all. that was very helpful, and did solve many of my
> problems. I was addressing the dict with () rather than [].
>
> I'm still having one problem, though -- extracting the keywords. NOw,
> if you check the value for Form below, you'll see there is more than
> one key
Thank you, all. that was very helpful, and did solve many of my
problems. I was addressing the dict with () rather than [].
I'm still having one problem, though -- extracting the keywords. NOw,
if you check the value for Form below, you'll see there is more than
one keyword entry. When I do: k
Thank you, all. that was very helpful, and did solve many of my
problems. I was addressing the dict with () rather than [].
I'm still having one problem, though -- extracting the keywords. NOw,
if you check the value for Form below, you'll see there is more than
one keyword entry. When I do: k
ronrsr wrote:
> I'm having trouble extracting cgi parameters in my code - this is a web
> application, so I only know the line that's causing the problem.
if exceptions try "import cgitb; cgitb.enable()" to get a traces directly in
HTML for testing; otherwise read the server log (logs of httpd et
form("citation").value
Is form some form of dict? If so, then this should be something like:
form["citation"]
If not, then maybe value is a function, requiring ()'s to actually invoke
it.
-- Paul
--
http://mail.python.org/mailman/listinfo/python-list
ronrsr wrote:
> I'm having trouble extracting cgi parameters in my code - this is a web
> application, so I only know the line that's causing the problem.
seen this:
http://docs.python.org/lib/module-cgitb.html
?
> temp = str(form("citation").value)
did you perhaps mean form["citati
I'm having trouble extracting cgi parameters in my code - this is a web
application, so I only know the line that's causing the problem.
here's the info I know:
form = FieldStorage(None, None, [MiniFieldStorage('zid', '17'),
MiniFieldStorage('keywords', 'aAUA'), MiniFieldStorage('keywords',
'aBOS