3 ms·
So this is ironic. I've been meaning to port URLSearchParams to python for ages but been putting it off for about 8 months as I knew it would take several hours
by byteface 5y ago
So this is ironic. I've been meaning to port URLSearchParams to python for ages but been putting it off for about 8 months as I knew it would take several hours of thinking + testing etc.
After reading this blog article. I just now used this AI https://6b.eleuther.ai/ https://6b.eleuther.ai/ to do it in about an hour. Without hardly trying.
- byteface 5y agoInitially I let it be bad. I just wanted to see if it would make the methods i needed... self.params = ast.literal_eval(paramString) but it even re-wrote that part for me... self.params = urllib.parse.parse_qs(paramString)