Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Base64

DZone's Guide to

Base64

·
Free Resource
Simple python script to trnasform std input to base64 encoding


#! /usr/bin/python

import base64
import sys

encoded = base64.b64encode(sys.stdin.read())

print encoded
Topics:

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}