This is a server-side code project writen in python that stores a list of favorites movies, including box art imagery and a movie trailer URL. Visitors can review and watch the trailers in a web page.
This is the first project submission for Udacity Full Stack Web Developer Nanodegree Program.
You need a web browser to run this project. You need Python to change this project.
You need [Python] (https://www.python.org/) and a web browser to run this project.
To run and navigate thru the web page:
- save the files into a local directory
- click the
fresh_tomatoes.html
to open the web page
If you want to use Python to run this project:
- open the
entertainment_center.py
file - click on _Run -> Run Module
The web page will open on your default browser and you will be able to see my top 6 movies! :-)
Understanding the files:
entertainment_center.py
This is the file that creates the objects movie, the list of movies and also calls the function from fresh_tomatoes script that runs the
web page.
favicon.ico
This is just a favicon for the web page that I've included. I hate web pages without favicon! :-)
fresh_tomatoes.html
This is the HTML page that's automatically generated by the fresh_tomatoes script.
fresh_tomatoes.py
This is the fresh_tomatoes script from Udacity and it's the responsible for all the "magic" that happens!
And if you want to change the styles of the web page, that's the place!
media.py
This is the file that contains the class Movie, with the constructor for every movie object and the method to show the relative trailer.
- Python
- Fresh Tomatoes - python script to generate the movie web page