Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
16 views

Python Mini Project

Python Mini Project

Uploaded by

rutvik italiya
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views

Python Mini Project

Python Mini Project

Uploaded by

rutvik italiya
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Experiment No:11

Mini Project
(Screen Recorder)

Aim : To build Screen Recorder using python

Procedure:

Module Needed
Required Modules:

1. time: This is a built-in Python

module to work with time-

related tasks.

2. Plyer: This module helps

access hardware features,

like sending notifications. To

install it, use the command:

Command:- pip install plyer

Approach:

Import the necessary libraries.


Define a function to send notifications using Plyer.
Capture and record the screen using PyAutoGUI and save the frames as a
video file using OpenCV.
Send a notification when the recording starts and stops..
Input code:
Output code :

Conclusion:
The provided Python script allows you to easily create a
basic screen recorder that captures the screen and saves it
as a video using PyAutoGUI and OpenCV. It also sends
desktop notifications using Plyer to inform the user when the
recording starts and stops. By following this approach, you
can build a simple screen recording tool in Python with
minimal setup.

You might also like