/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

blog.kchung.co
| | www.jeremymorgan.com

In this guide, we will explore the different ways to convert a string into bytes in Python. We will discuss the most common methods and their applications, as well as provide examples and code snipp ...
2.6 parsecs

Travel
| |
| | danielms.site

I build things and drink coffee.
3.0 parsecs

Travel
| |
| | blog.kgriffs.com

Implementing Python's magic string methods is tricky when it comes to Unicode characters and Py3K compatibility. I recently came across this problem in OpenStack, and wanted to share the strategy we are using to work around the issue.
3.6 parsecs

Travel
| |
| | adamj.eu

In a type hint, if we specify a type (class), then we mark the variable as containing an instance of that type. To specify that a variable instead contains a type, we need to use type[Cls] (or the old syntax typing.Type).
24.9 parsecs

Travel
|