Python 3 str() built-in function TUTORIAL

preview_player
Показать описание
Tutorial on how to use the str() built-in function from the Python 3 Standard Library. Learn about encoding and how to convert bytes to strings.

📖 Please check out my Udemy course here:

Documentation:

⚙️ Recommended Computer Gear:

✈️ Recommended Digital Nomad Gear:
Рекомендации по теме
Комментарии
Автор

str() is a class, not function. I wrote in my new project: "print(str); print(str(b'utf-8', 'utf-8'))", in command line written: "<class 'str'>" and "utf-8".

vladumnik