GK SCIENTIST

General Knowledge One Stop Source
Menu
  • Home
  • Social Science
    • History
    • Political Science
    • Geography
  • Science
    • Physics
    • Chemistry
    • Biology
  • Chemistry Notes
  • Mathematics
  • Computer
  • Tutorial MySQL
  • Tutorial Python
  • Java Tutorial
  • English Grammar
  • English Essay
  • Indian Anthropology
  • Philosophy
  • Solved Paper
  • UPSC
  • Current Content
    • Current Affairs
    • RSTV News
    • Yojana and Kurukshetra Gist
  • Donate
  • Contact Us

If you are interested in advertising to our audience, submit the advertising enquiry form.

Advertising Enquiry
Computer

Automate WhatsApp Messages with Python

Gk Scientist December 21, 2022 No Comments
Tweet WhatsApp Telegram

Automate WhatsApp Messages with Python:

We can use the PyCharm code editor for this example. If you do not know about it then follow this link- How to install PyCharm for Python and create a program in it.

(1) Open the PyCharm code editor and create a new project in it. We named the project message_automation.py. To build a Whatsapp Message Automation program in Python, we need to install the package. For this open the terminal in PyCharm and install one package i.e. pywhatkit. You install this package by simply typing in the terminal following command i.e. pip install pywhatkit and then press enter as shown below.

pip install pywhatkit in python - Automate WhatsApp Messages with Python

Note: If the package shows an error while using in the code, you can simply install the package by clicking on the red bulb which appears below the error and you can directly install the package from here as shown below.

install package pywhatkit python - Automate WhatsApp Messages with Python

(2) Now login into your WhatsApp in the browser. After login, you can close the browser and write the below code. Your WhatsApp automatically opens and sends the message to the phone number which is mentioned in the code.

whatsapp python code - Automate WhatsApp Messages with Python

Source Code:

import pywhatkit as pw

pw.sendwhatmsg('+91914907','Hello GK Scientist',11,29)

Tutorial MySQL
Tutorial Python
Procedure-Oriented Programming
Object-Oriented Programming (OOP)
Computer Software and Hardware
Malicious Software (Malware)
Database Management System (DBMS)
Python (programming language)– Wikipedia
Prev Article
Next Article

Related Articles

How to Create Variables in Java
Create Variables in Java: We can use the Eclipse IDE …
Gk Scientist December 28, 2022 Computer

How to Create Variables in Java

Create Table in MySQL
Create Table in MySQL: (1) In the previous blog we …
Gk Scientist November 10, 2022 Computer

Create Table in MySQL

Create ComboBox in Java
Create ComboBox in Java: We can use the Eclipse IDE …
Gk Scientist January 16, 2023 Computer

Create ComboBox in Java

Create Screen Recorder in Python
Create Screen Recorder in Python: We can use the PyCharm …
Gk Scientist December 18, 2022 Computer

Create Screen Recorder in Python

Python MySQL Equi Join
Python MySQL Equi Join: (1) Equi Join may be defined …
Gk Scientist December 14, 2022 Computer

Python MySQL Equi Join

Simple Java GUI (Graphical User Interface)
Simple Java GUI: We can use the Eclipse IDE for …
Gk Scientist December 30, 2022 Computer

Simple Java GUI (Graphical User Interface)

Python Datetime Module
Python Datetime Module: We can use the PyCharm code editor …
Gk Scientist December 3, 2022 Computer

Python Datetime Module

Java for-each Loop
Java for-each Loop: We can use the Eclipse IDE for …
Gk Scientist January 6, 2023 Computer

Java for-each Loop

Leave a Reply Cancel Reply

Search

  • Popular
  • Recent




GK SCIENTIST

General Knowledge One Stop Source

Information

  • About Us
  • Terms and Condition, Disclaimer
  • Contact Us

Android Apps

  • IAS App For English Medium Students
  • IAS Basics App For English Medium Students
  • IAS Hindi App For Hindi Medium Students
DMCA.com Protection Status

Popular Tags

Biology (33) Biology Questions (88) Chemistry (57) Computer (215) Current Affairs (4) Current Content (0) Economy (17) English Essay (172) English Grammar (75) English Literature (10) Geography (83) History (259) Indian Anthropology (11) Indian Polity (14) JKAS Mains Question Papers (17) Mathematics (68) Moral Science (7) NCERT & Other Boards Books (25) Philosophy (114) Physics (89) Political Science (132) RS TV News (33) Science (553) Social Anthropology (7) Social Science (17) Solved Paper (47) UPSC (7) UPSC Mains Question Papers (26)

Downloads

  • NCERT Books
  • Old NCERT Books
  • NIOS Books For IAS, SSC, and State PSC Exam
  • Tamil Nadu Board Books: Important For UPSC, SSC, and State PSC Exam
  • Modern Indian and World History Notes For IAS Exam
  • UPSC Topper 2013 Gaurav Agrawal Notes For IAS Preparation
  • UPSC IAS Prelims General Studies – Previous Year Papers
  • UPSC Mains Question Papers

Copyright © 2023 GK SCIENTIST
Theme by MyThemeShop.com& Hosted On Cloudways

Ad Blocker Detected

Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker.

Refresh
 

Loading Comments...