Source code for Movies

# CellTracking.py
# By MW, Jun 2013
# GPLv3+
#
# Functions managing movies


# ==== Importations
import logging, imp

logging.debug("Loading Movie class...")
Movie = imp.load_source("Movie", './bin/Movies/Movie.py')  # Loading the Movie class
movies_list = []

[docs]def new_movie() : """Function that returns a movie instance, and instanciate in in the Movies database""" m = Movie.Movie() # Create movie movies_list.append(m) # Record it in the database return m