Mercurial > repo
view bin/url @ 3981:866c7045ad18
<shachaf> addquote <zzo38> I do sometimes work on Linux computer. I think it is set to en.UTF-8 by default although on my account I have changed it to the C locale, disabled Unicode translation, and loaded a CP437 font. <zzo38> This improves the operation of the system.
author | HackBot |
---|---|
date | Mon, 04 Nov 2013 05:13:31 +0000 |
parents | 7914d7e0b500 |
children | 03afb1619ef2 |
line wrap: on
line source
#!/usr/bin/env python import sys, urllib if len(sys.argv) <= 1: print "http://codu.org/projects/hackbot/fshg/" else: print ("http://codu.org/projects/hackbot/fshg/index.cgi/raw-file/tip/" + urllib.quote(sys.argv[1]))