According to the Six Degrees of Kevin Bacon game, anyone in the Hollywood film industry can be connected to Kevin Bacon within six steps, where each step consists of finding a film that two actors both starred in. This program finds that route and also the route between any two actors by choosing a movie sequence that connects them. Data is taken from the IMDb database.
Run the file degrees with the following command
[python command] degrees.py [directory name]
where python command depends on your system and the directory name can be: large or small.