Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on May 25, 2022. It is now read-only.

Commit bcf3b78

Browse files
Merge pull request #418 from urmil89/master
whatsapp bot added
2 parents ed22ad9 + f0c3327 commit bcf3b78

File tree

5 files changed

+49
-0
lines changed

5 files changed

+49
-0
lines changed

‎README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,3 +193,4 @@ SR No | Project | Author
193193
98 | [PNG to ICO converter](https://github.com/Python-World/python-mini-projects/tree/master/projects/convert_png_images_to_ico_format)| [weicheansoo](https://github.com/weicheansoo)
194194
99 | [Find IMDB Ratings](https://github.com/Python-World/python-mini-projects/tree/master/projects/Find_imdb_rating)| [Utkarsh Bajaj](https://github.com/utkarshbajaj)
195195
100 | [Terminal Based Hangman Game](https://github.com/Python-World/python-mini-projects/tree/master/projects/Terminal_Based_Hangman_Game)| [neohboonyee99](https://github.com/neohboonyee99)
196+
101 | [Whatsapp Bot](https://github.com/Python-World/python-mini-projects/tree/master/projects/whatsapp_Bot)| [urmil89](https://github.com/urmil89)

‎projects/whatsapp_Bot/Readme.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Whatsapp Bot
2+
## Perform Operation like
3+
1. Put your details
4+
2. connect with internet
5+
3. Pass your message
6+
7+
# To run app
8+
- Create virtual Environment
9+
- Install requirements
10+
`pip install requirements.txt`
11+
- run app
12+
`python main.py`

‎projects/whatsapp_Bot/main.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import pywhatkit
2+
from datetime import datetime
3+
4+
now = datetime.now()
5+
6+
chour = now.strftime("%H")
7+
mobile = input('Enter Mobile No of Receiver : ')
8+
message = input('Enter Message you wanna send : ')
9+
hour = int(chour) + int(input('Enter hour : '))
10+
minute = int(input('Enter minute : '))
11+
12+
pywhatkit.sendwhatmsg(mobile,message,hour,minute)

‎whatsapp_Bot/Readme.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Whatsapp Bot
2+
## Perform Operation like
3+
1. Put your details
4+
2. connect with internet
5+
3. Pass your message
6+
7+
# To run app
8+
- Create virtual Environment
9+
- Install requirements
10+
`pip install requirements.txt`
11+
- run app
12+
`python main.py`

‎whatsapp_Bot/main.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import pywhatkit
2+
from datetime import datetime
3+
4+
now = datetime.now()
5+
6+
chour = now.strftime("%H")
7+
mobile = input('Enter Mobile No of Receiver : ')
8+
message = input('Enter Message you wanna send : ')
9+
hour = int(chour) + int(input('Enter hour : '))
10+
minute = int(input('Enter minute : '))
11+
12+
pywhatkit.sendwhatmsg(mobile,message,hour,minute)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /