Forked from MarcusWiilo/gist:e63bfe0fa6e4be39b2eba879360c1996
Last active
September 7, 2016 17:48
-
-
Save raonyguimaraes/9b4f13fd452eb8a728dd762cdac2a561 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #arquivo media.py | |
| class Movie(): | |
| def __init__(self, movie_title, movie_storyline, poster_image, trailer_youtube): | |
| self.title = movie_title | |
| self.storyline = movie_storyline | |
| self.poster_image_url = poster_image | |
| self.trailer_youtube_url = trailer_youtube | |
| #arquivo entertainment_center.py | |
| import media | |
| toy_story = media.Movie("Toy Story", | |
| "A story of a boy and his toys that come to life", | |
| "https://pt.wikipedia.org/wiki/Toy_Story#/media/File:Movie_poster_toy_story.jpg", | |
| "https://www.youtube.com/") | |
| print(toy_story.storyline) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment