I love Python to pieces...

... but ...

I desperately hate when a string gets interpreted as a list and suddenly I'm tracing down a bunch of single-character nonsense.

['f', 'u', 'c', 'k', ' ', 't', 'h', 'a', 't', ' ', 's', 'h', 'i', 't']


@craigmaloney We've got to go deeper

[['f'], ['u'], ['c'], ['k'], [' '], ['t'], ['h'], ['a'], ['t'], [' '], ['s'], ['h'], ['i'], ['t']]

@balrogboogie @craigmaloney There's also the JSON API version

{"string": [{"character": "f"}, {"character": "u"}, {"character": "c"}, {"character": "k"}, {"character": " "}, {"character": "t"}, {"character": "h"}, {"character": "a"}, {"character": "t"}, {"character": " "}, {"character": "s"}, {"character": "h"}, {"character": "i"}, {"character": "t"}]}

@balrogboogie @zigg @craigmaloney nah, I mean EDI. It's an older standard for document exchange, and is generally a pain to work with.

Sign in to participate in the conversation

cybrespace: the social hub of the information superhighway

jack in to the mastodon fediverse today and surf the dataflow through our cybrepunk, slightly glitchy web portal