def delete_topic(topic):
    if topic == 'General':
        print('Default topic "General" cannot be removed.')
        exit()
    try:
        del d[topic]
        print('Removed "{}" from your library.'.format(topic))
    except __HOLE__:
        print('"{}" is not in your library!'.format(topic))
        exit()


# if __name__ == '__main__':

#     for l in read('News'):
#         print(l)

#     remove_link('http://rt.com/rss/')

#     add_link('http://rt.com/rss/', 'News')

#     for l in read('News'):
#         print(l)
dataset/ETHPy150Open iamaziz/TermFeed/termfeed/dbop.py/delete_topic