Python/String: Difference between revisions

From Fundamental Ramen
Jump to navigation Jump to search
Line 13: Line 13:
! ||
! ||
|-
|-
| <source lang="python3">byte => str || b'abc'.decode('utf-8)</source>
| byte => str || <source lang="python3">b'abc'.decode('utf-8)</source>
|-
|-
| ||
| ||
|-
|-
|}
|}

Revision as of 16:44, 21 March 2018

Using statements

Using methods

byte => str
b'abc'.decode('utf-8)