Guest User

entertaiment_centre.py

a guest
Dec 14th, 2015
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.45 KB | None | 0 0
  1. import media
  2. import fresh_tomatoes
  3.  
  4. #Create Different Movie Objects
  5. movie_1 = media.Movie("X-Men Apocalypse",
  6.                       "Some description about it.",
  7.                       "http://goo.gl/yRBapH",
  8.                       "https://www.youtube.com/watch?v=COvnHv42T-A")
  9.  
  10. movie_2 = media.Movie("Captain America",
  11.                       "Some description about it.",
  12.                       "http://goo.gl/B3C5OE",
  13.                       "https://www.youtube.com/watch?v=1L3c17AmCZw")
  14.  
  15. movie_3 = media.Movie("Batman v/s Superman",
  16.                       "Some description about it!",
  17.                       "http://goo.gl/lLST2G",
  18.                       "https://www.youtube.com/watch?v=0WWzgGyAH6Y")
  19.  
  20. movie_4 = media.Movie("Cars 2",
  21.                       "Some description about it!",
  22.                       "http://goo.gl/FNf2Pp",
  23.                       "https://www.youtube.com/watch?v=lg5hj2c5Nkk")
  24.  
  25. movie_5 = media.Movie("Perfume",
  26.                       "Some description about it!",
  27.                       "http://goo.gl/yCP7JI",
  28.                       "https://www.youtube.com/watch?v=zutiIw_2e2g")
  29.  
  30. movie_6 = media.Movie("The Internship",
  31.                       "Some description about the movie!",
  32.                       "http://goo.gl/NVFWPN",
  33.                       "https://www.youtube.com/watch?v=cdnoqCViqUo")
  34.  
  35. #Creating an array of movies
  36. movies = [movie_1, movie_2, movie_3, movie_4, movie_5, movie_6]
  37. fresh_tomatoes.open_movies_page(movies)
Advertisement
Add Comment
Please, Sign In to add comment