0% found this document useful (0 votes)
0 views1 page

Assignment2 Python 2024-25

The document outlines an assignment for the Computer Engineering Department at Vidyavardhini’s College of Engineering & Technology for the academic year 2024-25. It includes tasks related to Python programming, specifically focusing on file manipulation and regular expressions. The assignment requires students to implement functionalities for text analysis and email address handling using Python.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
0 views1 page

Assignment2 Python 2024-25

The document outlines an assignment for the Computer Engineering Department at Vidyavardhini’s College of Engineering & Technology for the academic year 2024-25. It includes tasks related to Python programming, specifically focusing on file manipulation and regular expressions. The assignment requires students to implement functionalities for text analysis and email address handling using Python.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Vidyavardhini’s College of Engineering & Technology

Department of Computer Engineering


Academic Year : 2024-25

Assignment - 2
Sub: CSL405/ Skill Based Lab: Python Programming Year/Sem:- SE/ IV
Date: Submission Date: 18/02/2025

Course Outcome:
CSL405.2: Use features of files, directories and regular expression in python for file manipulation

Q.N Question Bloom


o. Level
1 Imagine you are developing a feature for text-analysis software. One of the Apply
functionalities you need to implement is to check if a list of specific keywords
exists within a given file. The file could be a text document, and the user
provides a list of words to search for. Your program should read the file and
identify which words from the list are present in the file and which are not.
2 Consider a text string containing multiple email addresses. Design following Apply
functionalities using Regular Expressions.
1. Find all email addresses in the text
2. Search for the first email address in the text
3. Replace the email address of yahoo with gmail

You might also like