Using Mojo's online JupyterLab instance to run Mojo code, I am unable to decode a base64 value which I encoded using mojo itself. Here is my code
from base64
print(base64.b64encode("This is a "))
>>VGhpcyBpcyBhIA==
So far so good. Let's decode it back, now.
print(base64.b64decode("VGhpcyBpcyBhIA=="))
and here is the error message that I receive.
error: Expression [99]:20:17: package 'base64' does not contain 'b64decode'
print(base64.b64decode("VGhpcyBpcyBhIA=="))
^
expression failed to parse (no further compiler diagnostics)
On their GitHub, I do see discussion which refers to the decoding function.