Title | Description | Author | Tags | Created | Modified |
---|---|---|---|---|---|
Rio2016MedalTable |
show Rio2016 Olympic Medal Table in terminal |
KrazyCavin |
CLI, python, script |
07 Aug 2016 |
07 Aug 2016 |
- python3
- tabulate
- beautifulsoup4
- pip3 install -r requirements.txt
usage: Rio2016MedalTable.py [-h] [-s {Gold,Silver,Bronze,Total}] [-d]
optional arguments:
-h, --help show this help message and exit
-s {Gold,Silver,Bronze,Total}, --sort {Gold,Silver,Bronze,Total}
sort results by number of Gold, Silver, Bronze or
Total medals. Default: sort by Total
-d, --debug active debug log
- Show medal table sorted by Total medals:
python3 ./Rio2016MedalTable.py
- Show medal table sorted by Gold medals:
python3 ./Rio2016MedalTable.py -s Gold