if two lines is cumbersome, you're in for a cumbersome life a programmer.
Hi everyone,Take a look at this question:Is there really no way to use base64 that's as short as:b'whatever'.encode('base64')Because doing this:import codecscodecs.decode(b"whatever", "base64_codec")Or this:import base64encoded = base64.b64encode(b'whatever')Is cumbersome!Why can't I do something like b'whatever'.encode('base64')? Or maybe using a different method than `encode`?Thanks,Ram.
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/ironfroggy%40gmail.com