且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

从python中的URL获取查询字符串的***方法?

更新时间:2023-11-15 16:48:28

你可以使查询字符串使用这样的GET参数

You can make Query string using GET parameters like this

request.GET.urlencode()

这不包含前缀,它可能不会按照与原始请求。

This does not include the ? prefix, and it may not return the keys in the same order as in the original request.