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']

#python

@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
cèilidh.space

"cèilidh" (pronounced "kay-lee") is a Scottish Gaelic word meaning "visit." It is used to describe large gatherings where communities would come together to eat, drink, and be merry.

This instance uses Mutant Standard emoji, which are licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.