4 ms·
>Nobody's passing strings where hashes are expected See, When I'm throwing together apps to clean up configurations, I am Pythonifying XML often. And when hand
by unethical_ban 4y ago
>Nobody's passing strings where hashes are expected
See, When I'm throwing together apps to clean up configurations, I am Pythonifying XML often. And when handling different return values, reshaping it into the useful components I need and trying to analyze data (and dealing with different return formats depending on number of results, aka a dict if there is one value, or a list(dict) if there are more) I have to constantly remember if I am going to be getting a list(dict(dict(dict(str)))) or just a dict(dict(string)), and so on. But that's me cobbling together scripts and not understanding the API by heart well enough.