Hi Wise Python Folk,
Here's my code:
'values=%5B1%2C +2%2C+3%5D&labe ls=%5B1%2C+2%2C +3%5D&type=bar& title=Gregs+Cha rt+1'
Now I just can't figure out what it's giving me for say values? What
is that stuff? What I want is to create a url and pass it a list of
values, ie so that in the script accepting these parameters I can do:
form = cgi.FieldStorag e()
values=form.get list('value')
and values will equal a list with 1,2, 3 or at least '1', '2', '3'
Much thanks in advance!
--
Gregory Piñero
Chief Innovation Officer
Blended Technologies
(www.blendedtechnologies.com)
Here's my code:
>>p={'type':'ba r','title':'Gre gs Chart 1','values':[1,2,3],'labels':[1,2,3]}
>>urllib.urlenc ode(p)
>>urllib.urlenc ode(p)
Now I just can't figure out what it's giving me for say values? What
is that stuff? What I want is to create a url and pass it a list of
values, ie so that in the script accepting these parameters I can do:
form = cgi.FieldStorag e()
values=form.get list('value')
and values will equal a list with 1,2, 3 or at least '1', '2', '3'
Much thanks in advance!
--
Gregory Piñero
Chief Innovation Officer
Blended Technologies
(www.blendedtechnologies.com)