Avatar ·

Coding of the text into an arbitrary binary code and vice versa. Example: "A" <-> "01100011"

📁 python, вопрос, пример, ии, работа

I need to convert the line, for example "A" ", into a line of binary code, for example " "01100011" ", then process a slightly binary code, passing it according to the function" "excluding or" with another double code, for example, for example "" 01100011 "" with "11000010" ", then " "10100001" "", and back the resulting code to the readable line, for example, in "" t .

This, I want to use Russian, English and Ukrainian layout and numbers, with signs of reproaching. Do not tell me how to do this on Python 3?

The question is how to convert a line into a binary code and vice versa using any encoding algorithm?