view python/hexify.py @ 27:3b88a6c02421

update hgrc settings wrt https://developer.mozilla.org/en/Mercurial_FAQ
author Jeff Hammel <k0scist@gmail.com>
date Tue, 09 Mar 2010 12:08:18 -0500
parents f3ab51c79813
children ffb75d832afe
line wrap: on
line source

#!/usr/bin/env python
import sys
print ''.join([ '%'+ hex(ord(i))[-2:] for i in ' '.join(sys.argv[1:]) ])