Skip to content

A grid-based website shows a list of my favorite movies. Hover over the poster, the storyline will display in tooltip style. Click the poster, the trailer will display in modal style.

Notifications You must be signed in to change notification settings

mzhangdev/MovieTrailers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Movie Trailer

A website shows a list of my favorite movies. Hover over the poster, the storyline will display in tooltip style. Click the poster, the trailer will display in modal style.

Main code structure and functions:

  • media.py: Define the Movie class.
  • fresh_tomatoes.py: A template to generate html file, with Movie objects as parameters.
  • entertainment_center.py: Initialize the Movie objects and use fresh_tomatoes.py to generate the target HTML file.

Demo:

movie_trailers

Environment requirements:

  • Python 2
  • Internet accessed

Usage:

In the terminal, enter the project folder, run

python entertainment_center.py

Then a HTML file will be generated, and then be opened on the web browser.

About

A grid-based website shows a list of my favorite movies. Hover over the poster, the storyline will display in tooltip style. Click the poster, the trailer will display in modal style.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages