Python strings have a function called maketrans(). I have no idea what it does, but it makes me happy.

@0shame it creates a transitive mapping, hope this helps (i have no idea what that means)

@0shame i think that's a static function of the string class, not a member function of string objects. And it makes a character translation table for use in another string function (this time a string object member function, i think) that replaces characters with other characters.

Sign in to participate in the conversation
Eldritch Café

Une instance se voulant accueillante pour les personnes queers, féministes et anarchistes ainsi que pour leurs sympathisant·e·s. Nous sommes principalement francophones, mais vous êtes les bienvenu·e·s quelle que soit votre langue.

A welcoming instance for queer, feminist and anarchist people as well as their sympathizers. We are mainly French-speaking people, but you are welcome whatever your language might be.