📜  python 列表理解与过滤器示例 2 - 任何代码示例

📅  最后修改于: 2022-03-11 14:59:08.033000             🧑  作者: Mango

代码示例1
wiki_movies = [movie for movie in wiki_movies_raw
               if ('Director' in movie or 'Directed by' in movie)
                   and 'imdb_link' in movie]
len(wiki_movies)