Hi,
That is a bit harsh, isn't it? Not knowing how an external module works in detail, certainly is not an uncommon thing to happen. This seems especially true for
You probably are having problems because the data set for the key
Cheers
zipit
(Sep-28-2019, 06:29 AM)buran Wrote: and we don't have idea how you expect to deal with cumulative worldwide gross...
That is a bit harsh, isn't it? Not knowing how an external module works in detail, certainly is not an uncommon thing to happen. This seems especially true for
IMDbPY
and its rather basic documentation.(Sep-28-2019, 05:52 AM)anh3phecan Wrote: i have no idea how to deal with cumulative worldwide gross
You probably are having problems because the data set for the key
"box office"
is not retrieved by default by all IMDbPY
methods that provide a movie data set. So you might have to retrieve your data for that move id again.movie = ia.get_movie(movie.movieID)This however will retrieve all data in the standard set. Your teacher probably also wants you to do this a performant way. Also note that in the
"box office"
data set will not always contain a value for a CWG. You will have to deal with that too.Cheers
zipit