tml ha scritto:
> Hello,
>
> Anyone know how I can take a url like this:
>
> http://domain/loc/widget?id=1&j.0.0=tom&j.0.1=jerry&k=hello&f.0=woo&f.o=hoo
>
> and convert that into a (arg, kw) pair like cherrypy does when calling
> the corresponding controller argument?
>
> I'm trying to render the widget internally based on the url keywords,
> so I would like to call a the widget's function, but I can't pass it
> the url string as is.
>
> thanks.
>
urllib.urlencode(dict( pippo=4, pluto='paperino') )
Glauco
--
+------------------------------------------------------------+
Glauco Uri - Programmatore
glauco(at)allevatori.com
Sfera Carta Software® [EMAIL PROTECTED]
Via Bazzanese,69 Casalecchio di Reno(BO) - Tel. 051591054
+------------------------------------------------------------+
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---