diff --git a/strings.html b/strings.html index 9b97cd0..71f2140 100644 --- a/strings.html +++ b/strings.html @@ -268,6 +268,10 @@ experience of years.
  • Finally, Python can turn that list-of-lists into a dictionary simply by passing it to the dict() function. +
    +

    The previous example looks a lot like parsing query parameters in a URL, but real-life URL parsing is actually more complicated than this. If you’re dealing with URL query parameters, you’re better off using the urllib.parse.parse_qs() function, which handles some non-obvious edge cases. +

    +

    Strings vs. Bytes