BY ADHARSH
A python program which creates HTML for a movie website which shows grid of movie posters click on the poster to play its trailer
version : python 2.7.9 for better running of this project,executable in the default path, like add extensions while installing it
- media.py: python script which contains class Movie.
- entertainment_center.py - main script where we run the program
- fresh_tomatoes.py - creates HTML page for project. - default file provided by udacity, user can change it accordingly for their reliability of the code
The Movie Class in the media.py module creates a data structure to store your favorite movies, including movie title, box art URL (or poster URL) and a YouTube link to the movie trailer.
The entertainment_center.py file creates multiple instances of that Movie Class to represent your favorite movies and groups all the instances together in a list.
The Python module called fresh_tomatoes.py has a function called open_movies_page that takes in one argument, which is a list of movies and creates an HTML file which visualizes all of your favorite movies.
- open the media.py and do changes if needed
- open the entertainment_center.py and run the module