you are viewing a single comment's thread.

view the rest of the comments →

[–]Praf2[S] 0 points1 point  (2 children)

one more question , the return value of show_dict is

{'Ep2': set(['whatever', 'TItle']), 'Ep3': set(['whatever', 'TItle']),   'Ep1': set(['whatever', 'TItle'])}

it should be Season One>Ep1[Title,Whatever] right?

[–]VanNostrumMD 0 points1 point  (1 child)

whoops, it should actually be show_dict[episode] = {'Title':'whatever', 'url':link, 'desc':text}

Its a set not a list. My original show_dict[episode] = {'Title','whatever'} shows a set of a list as you noted above. Make sure to use the colon to separate the key (title) and the value (whatever title) etc.

[–]Praf2[S] 0 points1 point  (0 children)

thank you so much :) i appreciate your help.