Spandan-Madan / DeepLearningProject

An in-depth machine learning tutorial introducing readers to a whole machine learning pipeline from scratch.

Home Page:https://spandan-madan.github.io/DeepLearningProject/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Possible wrong syntax

amarkmr76 opened this issue · comments

In [26]: # Create a tmdb genre object!
genres=tmdb.Genres()
the list() method of the Genres() class returns a listing of all genres in the form of a dictionary.
list_of_genres=genres.list()['genres']

The above segment throws this error:
Create a tmdb genre object!
genres=tmdb.Genres()
the list() method of the Genres() class returns a listing of all genres in the form of a dictionary.
list_of_genres=genres.list()['genres']

I apologize if this is a trivial issue. I'm new to Python. It'll be great if someone can help me resolve this. T