A cool thing that may or may not be useful: you can actually base64 encode/decode on strings without importing `base64`:

```python
>>> foo = 'hi'
>>> foo.encode('base64')
'aGk=\n'
>>> _.decode('base64')
'hi'
```