382 B
382 B
String to Hexadecimal Converter
Converts a string to its hexadecimal 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.