Python
Python
Name SRN
Rakesh Tawargeri. 24SUUBECS1662
Ranganath DM. 24SUUBECS1691
Ranganath TG. 24SUUBECS1692
Ranjan Kumar HS. 24SUUBECS1693
Ramya S. 24SUUBECS1686
Under the supervision of
Name : Mrs. Shweta
Designation: Assistent Professor
Department: CSE-GENERAL
SCHOOL OF ENGINEERING
SAPTHGIRI NPS UNIVERSITY
BENGALURU
2024-25 (EVEN SEM)
MOVIE RECOMMENDER
CERTIFICATE
This is to certify that the Mini Project Report entitled Movie Recommender submitted
by
RAKESH_TAWARGERI(24SUUBECS1662),RANGANATH_DM(24SUUBECS169
1),RANGANATH_TG(24SUUBECS1692),RANJAN_KUMAR_HS(24SUUBECS169
3), RAMYA_S(24SUUBECS1693) of COMPUTER SCIENCE ENGINEERING
,SAPTAGIRI NPS UNIVERSITY , in partial fulfilment of the requirements for the
completion of the Mini Project in the 1st YEAR 2nd SEMESTER is a bona fide record
of work carried out under our supervision.
Director name
Guide Name
CSE-GENERAL Designation
Project Guide
SNPSU
Designation
Dept 2
SNPSU
MOVIE RECOMMENDER
ABSTRACT
The recommendation logic filters movies by checking if they match the input criteria
provided by the user. The program allows users to input any combination of filters —
duration, category, or language — or skip them to receive broader recommendations. It
employs basic control structures and string manipulation techniques to perform case-
insensitive comparisons and ensures the system remains user-friendly and flexible.
CSE-GENERAL
3
MOVIE RECOMMENDER
TABLE OF CONTENTS
1: Introduction 6
2: Hardware and Software Requirements 8
3. Design and implementation
4: codes 9
5: Results and Discussion 10
6: Screenshots 12
7: Conclusion
8: References 14
CSE-GENERAL
4
MOVIE RECOMMENDER
1: Introduction
With the rise in digital content and streaming platforms, choosing a movie has become
overwhelming for many users. This mini project aims to solve that by offering a simple
Python-based movie recommender system. It allows users to filter movies based on
duration, category (genre), and language. This beginner-friendly project illustrates basic
Python programming concepts like lists, dictionaries, conditional logic, and user input.
CSE-GENERAL
5
MOVIE RECOMMENDER
Software:
CSE-GENERAL
6
MOVIE RECOMMENDER
The system uses a hardcoded list of movies, each defined by a dictionary with keys like
title, duration, category, and language. The core function recommend_movies() checks
which movies match the user's input and returns matching titles.
CSE-GENERAL
7
MOVIE RECOMMENDER
4. Code
python:-
movies = [
CSE-GENERAL
8
MOVIE RECOMMENDER
recommendations = []
recommendations.append(movie["title"])
# Input section
try:
except ValueError:
CSE-GENERAL
9
MOVIE RECOMMENDER
duration = None
category = input("Enter movie category (e.g. drama, thriller, action) or leave blank:
").strip() or None
language = input("Enter language (e.g. kannada, english, telugu) or leave blank: ").strip()
or None
# Call function
# Output section
print("\nRecommended movies:")
print(movie)
CSE-GENERAL
10
MOVIE RECOMMENDER
When the program runs, it prompts the user for inputs. Based on these, the movie list is
filtered. For example:
This shows how simple logic can be used for content filtering. For real-world use, this
can be expanded with databases or APIs.
6: Screenshots
CSE-GENERAL
11
MOVIE RECOMMENDER
Sample Screenshot
yaml
Copy code
Enter movie category (e.g. drama, thriller, action) or leave blank: action
Recommended movies:
Katera
Robert
Kariya
CSE-GENERAL
12
MOVIE RECOMMENDER
7: Conclusion
The Movie Recommender System is a basic but effective example of how Python can be
used to process data and provide personalized results. It is beginner-friendly and
introduces key programming concepts. Future improvements may include:
GUI interface
CSE-GENERAL
13
MOVIE RECOMMENDER
8: References
GeeksforGeeks – https://www.geeksforgeeks.org
Canva – https://www.canva.com
CSE-GENERAL
14
MOVIE RECOMMENDER
CSE-GENERAL
15