In this article we will see how we can get the name of movie company from the searched list of companies, we use
search_company method to find all the related companies.
search_company method returns list and each element of list work as a dictionary i.e. they can be queried by giving the key of the data, here key will be name.
Syntax : companies[‘name’]
Here companies is the list return by search_company method and companies refer to the first element of list.
Return : It returns string i.e name.
Below is the implementation:
[Company id:0017927[http] name:_Universal Studios Hollywood [us]_] Universal Studios Hollywood
Walt Disney Studios Motion Pictures Walt Disney Pictures Walt Disney Studios Motion Pictures Walt Disney Studios Walt Disney Animation Studios The Walt Disney Company Walt Disney Company Walt Disney Company Walt Disney Television Walt Disney Home Video Walt Disney Home Video Walt Disney Productions Walt Disney Company Nordic Walt Disney Company Walt Disney Attractions The Walt Disney Company Walt Disney Animation U.K. Walt Disney Motion Pictures Group Walt Disney Company Walt Disney International
Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.
To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course. And to begin with your Machine Learning Journey, join the Machine Learning – Basic Level Course