Skip to content

Instantly share code, notes, and snippets.

@sloanlance
Created June 28, 2017 14:57
Show Gist options
  • Save sloanlance/6cac790cc00201941d784bfda1fcae08 to your computer and use it in GitHub Desktop.
Save sloanlance/6cac790cc00201941d784bfda1fcae08 to your computer and use it in GitHub Desktop.
Python: quopri - Wrapper script for quopri module to encode or decode MIME quoted-printable data
#!/bin/sh --
# This script is easier to use when in a file named "quopri" without the extension.
# The ".sh" extension is helpful for syntax highlighting in GitHub and editors.
# For use, it's recommended to either remove the ".sh" from the filename or make a
# symbolic link to it named "quopri".
# For more information about quopri, see: https://docs.python.org/library/quopri.html
python -mquopri "${@}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment