Python/String: Difference between revisions
< Python
Jump to navigation
Jump to search
| Line 9: | Line 9: | ||
|} | |} | ||
= Using | = Using methods = | ||
{| class="wikitable" | {| class="wikitable" | ||
! | ! || | ||
|- | |- | ||
| | | byte => str || b'abc'.decode('utf-8) | ||
|- | |- | ||
| | | || | ||
|- | |- | ||
|} | |} | ||
Revision as of 16:43, 21 March 2018
Using statements
Using methods
| byte => str | b'abc'.decode('utf-8) |