a, b, *_ = line.split(":", 2) + [""]

this is disgusting and very useful

re: computers 

@Claire otherwise you have to branch out??? it's pretty fucked up


re: computers 

@CobaltVelvet i think you can do a, b, = line.split(':', 2) + [''] but it's barely any better

Sign in to participate in the conversation
Mastodon (instance perso)

This is a small personal instance running on a couple small ARM servers at home.