Python 3 : String to bytes | bytes to String Conversion

String to bytes and Bytes to String Conversion

$ pythonPython 3.7.0 (default, Jun 28 2018, 07:39:16) [Clang 4.0.1 (tags/RELEASE_401/final)] :: Anaconda, Inc. on darwinType "help", "copyright", "credits" or "license" for more information.>>> s = bytes("Interview Bubble","utf-8")>>> sb'Interview Bubble'>>> s = s.decode("utf-8")>>> s'Interview Bubble'>>>