This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
__author__="phi10s" | |
'''It is hypothesized that if you recursively click the first link | |
in the main body of any Wikipedia entry, you eventually will reach | |
the philosophy entry. This script maps the path from an arbitrary | |
entry to the Philosophy entry, and notes the number of hops required. | |
It's like Six Degrees of Kevin Bacon, but for philosophy nerds. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import os | |
import sys | |
import subprocess | |
import random | |
import re | |
from time import sleep | |
import shlex | |
from ipaddress import ip_address | |
from termcolor import colored,cprint |