ニュース

Python3.0と2.xではstrの意味が変わってしまいました。今回は「俺様プチencoding」を実装することで、どう変化したのかを垣間見ることにしましょう。
<type 'str'> >>> In other words, although Python strings generally are thought of as having type str, they equally can be seen as having type bytes. Why would you care? Because it allows you to ...