Skip to content

Instantly share code, notes, and snippets.

@tkf
Created May 13, 2010 22:07
Show Gist options
  • Save tkf/400531 to your computer and use it in GitHub Desktop.
Save tkf/400531 to your computer and use it in GitHub Desktop.
import uu
import sys
if __name__ == '__main__':
filepath = sys.argv[1]
filename = sys.argv[2]
uu.encode(open(filepath), sys.stdout, filename)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment