Skip to content

janetvong/ud036_StarterCode

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Movie Trailer website: My Entertainment Center

By Janet Vong

My Entertainment Center is a python server code that displays a list of movies that can be clicked on to show the trailer.

Prequisites

To run the server code, you need to have Python 2 installed on your computer. You also need basic knowledge of linux. Some knowledge of python is good, but not necessary.

How to open the movie trailer website

  1. Download all of the file ud036_StarterCode. Make sure all three files (fresh_tomatoes.py, entertainment_center.py, and media.py) are in the ud036_StarterCode folder.
  2. Open your terminal and change to the ud036_StarterCode directory. The folder should be in your Downloads folder.
  3. Once you're in the ud036_StarterCode directory, type python entertainment_center.py. You'll be directed to the page in a web browser. Click on the image to play the movie trailer.

How the code works

entertainment_center.py is the server code that uses the class to iniatite instances of the class and stores the content of each instance of the class.

media.py is the class that lays out the blueprint requirements for each instance of a movie.

fresh_tomatoes.py is the code that creates an html site page for you to see the list of movies and play the trailers.

About

Starter Code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%