I'm new to python and would like some assistance.
I have a variable
q = request.GET['q']
How do I insert the variable q
inside this:
url = "http://search.com/search?term="+q+"&location=sf"
Now I'm not sure what the convention is? I'm used to PHP or javascript, but I'm learning python and how do you insert a variable dynamically?