def link(self, ask=False):
        """
        Link files, generated by get_files(), to your home directory.

        Run get_files() first.
        """

        for i, f in enumerate(self.git_links):

            # make sure to ask nicely
            if ask and not os.path.exists(self.home_links[i]):
                if raw_input("Link %s to home (y/N)? > " % f).lower() == "y":
                    os.symlink(f, self.home_links[i])

            # don't ask, just do
            elif not os.path.exists(self.home_links[i]):
                os.symlink(f, self.home_links[i])

            else:
                print "skipping", f
dataset/ETHPy150Open ProfOak/dotstribute/dotstribute.py/Dot.link/original