def open(self, index):

        index = int(index.strip())
        index -= 1
        section = self.program.state.last_viewed
        storyid = getattr(self.program.state, section)[index]
        data = self.program.state.stories[storyid]
        webbrowser.open(data['url'])
Open in browser a story with `index`
dataset/ETHPy150Open walkr/hn/hn/commands.py/Commands.open