Python Tutorial

A “fake” bytes literal. data should always be a normal string literal. In Python 2, b() returns an 8-bit string. In Python 3, data is encoded with the latin-1 encoding to bytes. Note: Since all Python versions 2.6 and after support the b prefix, code without 2.5 support doesn’t need b(). six.u(text) ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download