Mercurial > repo
view bin/edit @ 10313:595d060b702e
<boily> slwd compiler//s" \\"" \xe2\x80\x9c"
author | HackBot |
---|---|
date | Sat, 18 Feb 2017 13:09:02 +0000 |
parents | 520f4f114d5d |
children | 8c93629c5394 |
line wrap: on
line source
#!/usr/bin/env python import sys, os, urllib if len(sys.argv) < 2: print "usage: edit <path>" sys.exit(1) print "http://slbkbs.org:5196/edit?path=" + urllib.quote(os.path.realpath(sys.argv[1]))