Python Progression Path – From Apprentice to Guru

Many new programmers who started learning, working, and playing with Python ask a question about progression paths. What should I learn now, what library, packages, techniques should I focus on to dive deeper in this beautiful language.

Continue reading “Python Progression Path – From Apprentice to Guru”

How to Convert Strings to Bytes in Python

Minimal Python examples of how to convert string to bytes and vice versa.
Let’s start Python REPL and experiment.

$ python3
Python 3.7.0 (default, Jul 3 2018, 23:47:55)
[Clang 9.0.0 (clang-900.0.39.2)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

Continue reading “How to Convert Strings to Bytes in Python”