Advertisement

Python Project With Source Code - Whatsapp Bot

Python Project With Source Code - Whatsapp Bot

Whatsapp Bot

Perform Operation like
1. Put your details
2. connect with internet
3. Pass your message

To run app
- Create virtual Environment
- Install requirements
`pip install requirements.txt`
- run app
`python main.py`

Source Code:

import pywhatkit
from datetime import datetime
now = datetime.now()
chour = now.strftime("%H")
mobile = input('Enter Mobile No of Receiver : ')
message = input('Enter Message you wanna send : ')
hour = int(chour) + int(input('Enter hour : '))
minute = int(input('Enter minute : '))
pywhatkit.sendwhatmsg(mobile,message,hour,minute)

Post a Comment

0 Comments