(no title)
Matthias1 | 4 years ago
So I would build the query like so:
from urllib.parse import urlencode
urlencode({
"action": "query",
"format": "json",
...
"gscoord": f"{str(latitude.value)}|{str(longitude.value)}",
})
I think this is orders of magnitude clearer code. But that's a parameter that's subjective that CoPilot can't adjust for (although it can be better).
e0a74c|4 years ago
thamer|4 years ago
I typed the following prompt:
And it completed it with:lambdaba|4 years ago
snicker7|4 years ago