372 B
372 B
String to Binary Converter
Converts a string to its binary representation.
Source library: Python standard library
Parameters
- text: The string to convert.
- encoding_format: The character encoding to use for the conversion. Defaults to
utf-8. - other_encoding_format: A custom encoding format to use if
Otheris selected forencoding_format.