Skip to content

Instantly share code, notes, and snippets.

@sakti
Created September 22, 2012 03:27
Show Gist options
  • Save sakti/3765017 to your computer and use it in GitHub Desktop.
Save sakti/3765017 to your computer and use it in GitHub Desktop.
from base64 import encodestring
data = raw_input()
while len(data) != 0:
print encodestring(data)
data = raw_input()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment