Python/String: Difference between revisions
< Python
Jump to navigation
Jump to search
| Line 13: | Line 13: | ||
! || | ! || | ||
|- | |- | ||
| byte => str || <source lang=" | | byte => str || <source lang="python">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)
|