Skip to content

Somachi/BrightMovies.Com_Website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 

Repository files navigation

screen shot 2016-05-16 at 6 34 17 am screen shot 2016-05-16 at 6 34 33 am

BrightMovies.Com website

Introduction

This repository contains the BrightMovies.Com website source codes and how to get the website up and running on your web browser, see below for outlined step by step guide.

File details:

media.py- where we defined our classes and functions

entertainment_center.py- where we imported the functions and classes in Media.py file to use in our website

fresh_tomatoes.py - this file is reponsible for displaying our website on a web browser

Note:
Please make sure the file names are correct as stated here (all letters should be in lower cases)

Main Features

  • Open a webpage
  • Display a list of Video images
  • Display the name of the each video below its image
  • Play the video when the user clicks on the imgae

Libraries used:

import webbrowser import webbrowser import os import re import time import fresh_tomatoes import media

Classes

class Movie():

Functions

def show_trailer() def init() webbrowser.open() def create_movie_tiles_content() def open_movies_page()

#To Run this codes

  1. Save all three files with the extention '.py' which makes it possible to run on a python IDL
  2. Make sure all three files are saved in the same folder on your computer
  3. Open up the file Entertainment_center.py and run the code, please make sure you are connected to the internet, and that you have a browser on your computer

License

  1. The ‘fresh_tomatoes.py’ file was originally authored and maintained by Udacity, but I modified it to suit the look of my desired website.

Copyright © 2016 Bright Nwanoruo Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice,
   this list of conditions and the following disclaimer.


2. Redistributions in binary form must reproduce the above copyright
   notice, this list of conditions and the following disclaimer in the
   documentation and/or other materials provided with the distribution.


3. Neither the name of The author nor the names of its contributors may
   be used to endorse or promote products derived from this software
   without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

About

This repository contains a move website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages