[Tutor] Get data through url.
Mohammed hisamuddin
mhisamuddin at gmail.com
Fri Nov 9 19:57:03 CET 2012
I want to pass data onto my python program through an url and then store
the information in a mysql db.
For instance i want to call http://<yourserver.com
>/expand.py?mobile=992828282®ion=India
and i get the "mobile" and "region" values inside my program which i can
then save into my db.
In php i could use $_get and do this. I'm new to python, how can i do it
here.
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20121110/df765bda/attachment.html>
More information about the Tutor
mailing list