"Fossies" - the Fresh Open Source Software Archive

Member "roundup-2.0.0/tools/base64" (26 Aug 2019, 145 Bytes) of package /linux/www/roundup-2.0.0.tar.gz:

As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Python source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "base64": 1.6.1_vs_2.0.0.

    1 #!/usr/bin/env python
    2 from __future__ import print_function
    3 import zlib, base64, sys
    4 print(base64.encodestring(zlib.compress(sys.stdin.read())))