mirror of
https://github.com/arfct/itty-bitty.git
synced 2026-03-11 08:54:33 +00:00
update Python example encoding command
to match the other example encodings including the whole URL not just the data fragment
This commit is contained in:
parent
5292c4b789
commit
dc1f66458d
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ Encoding (Win Git/WSL)
|
|||
|
||||
Encoding (Python)
|
||||
|
||||
`base64.b64encode(lzma.compress(bytes("hello world",encoding="utf-8"), format=lzma.FORMAT_ALONE, preset=9))`
|
||||
`'https://itty.bitty.site/#/'+base64.b64encode(lzma.compress(bytes("hello world",encoding="utf-8"), format=lzma.FORMAT_ALONE, preset=9)).decode("utf-8")`
|
||||
|
||||
Encoding (Node.js)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue