Mercurial > repo
annotate bin/wiki @ 12268:6bbbe2a95120 draft
<b_jonas> slashlearn euclid//Euclid is a short geeky game in which the goal is to do Euclidean compass and straightedge constructions in as few steps as possible. It runs in the browser, found at "http://www.euclidthegame.com/". It was popular among #esoteric regulars in 2016-07.
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Mon, 16 Dec 2019 23:02:52 +0000 |
parents | 2c8c313864e7 |
children |
rev | line source |
---|---|
10392
355a1c8028dc
<oerjan> fetch bin/wiki https://hackego.esolangs.org/get/bin/wiki
HackBot
parents:
diff
changeset
|
1 #!/usr/bin/env python |
355a1c8028dc
<oerjan> fetch bin/wiki https://hackego.esolangs.org/get/bin/wiki
HackBot
parents:
diff
changeset
|
2 import sys, os.path, urllib |
355a1c8028dc
<oerjan> fetch bin/wiki https://hackego.esolangs.org/get/bin/wiki
HackBot
parents:
diff
changeset
|
3 if len(sys.argv) <= 1: |
355a1c8028dc
<oerjan> fetch bin/wiki https://hackego.esolangs.org/get/bin/wiki
HackBot
parents:
diff
changeset
|
4 print "https://esolangs.org/" |
355a1c8028dc
<oerjan> fetch bin/wiki https://hackego.esolangs.org/get/bin/wiki
HackBot
parents:
diff
changeset
|
5 else: |
355a1c8028dc
<oerjan> fetch bin/wiki https://hackego.esolangs.org/get/bin/wiki
HackBot
parents:
diff
changeset
|
6 print ("https://esolangs.org/wiki/" + |
12160
2c8c313864e7
<fizzie> slbd wiki//6,7d;s/quote(f)/quote(sys.argv[1])/
HackEso <hackeso@esolangs.org>
parents:
11334
diff
changeset
|
7 urllib.quote(sys.argv[1])) |