entertainment_center
helps you to save your favorite movies and their relevant details including title, year of production, poster, and official movie trailer. entertainment_center
uses a Python module called fresh_tomatoes.py
to generate a webpage that displays your saved favorite movies.
If you want to know more about fresh_tomatoes
Python module, see fresh_tomatoes.
The information related to supported python version, how to get started, and license is included in this documentation.
The entertainment_center basically supports Python 2.x.
To view the default favorite movies website in your browser:
- Download the project's files and put them together in one folder.
- Make sure that Python 2.x is installed and added to your Windows environment variables.
- Open the command line and navigate to the folder's path.
- Run the command:
python entertainment_center.py
or
py entertainment_center.py
or
entertainment_center.py
- The default favorite movies web site should be opened in your default web browser.
folder_path\entertainment_center-master>python entertainment_center.py
To add your customized favorite movies instead of my default favorite movies:
- Open
entertainment_center.py
file with any text editor. - Replace the instances found in the file with the instances of your own. They should look like:
your_favorite_movie = media.Movie("Movie Title", "Production Year",
"Poster Image URL","Movie Trailer URL")
- Replace the intances names in the
movies_list
with the names of the newly added instances in the order that you want the movies to be shown in the website.
Within the download you will find the following files:
entertainment_center-master/
├── entertainment_center.py
├── media.py
├── fresh_tomatoes.py
├── README.md
├── LICENSE
entertainment_center.py is Copyright © 2017 Ahmad Nagib. It is free software, and may be redistributed under the terms specified in the LICENSE file.