It is better style to pass url parameters such as in http://example.tld/?foo=bar&baz=... to the params argument of requests. This keeps the urls cleaner and removes the need of formatting with urllib-escaped strings, as requests will handle all that on its own.
It is better style to pass url parameters such as in
http://example.tld/?foo=bar&baz=...
to the params argument ofrequests
. This keeps theurl
s cleaner and removes the need of formatting withurllib
-escaped strings, asrequests
will handle all that on its own.