Mercurial > repo
view bin/wiki @ 10392:355a1c8028dc
<oerjan> fetch bin/wiki https://hackego.esolangs.org/get/bin/wiki
author | HackBot |
---|---|
date | Sat, 11 Mar 2017 01:27:29 +0000 |
parents | |
children | 6f89145cd692 |
line wrap: on
line source
#!/usr/bin/env python import sys, os.path, urllib if len(sys.argv) <= 1: print "https://esolangs.org/" else: f = os.path.abspath(sys.argv[1]) print ("https://esolangs.org/wiki/" + urllib.quote(f))