Skip to main content

How to send WhatsApp message using Python| Python| #python | #pywhatkit |python for beginner

How to send WhatsApp message using python. 

Hello readers

In this blog you are going to see that how you can send WhatsApp message using python programming language. Before performing this you must know python programming language. 


Whatsapp logo 



python logo 


Python is an interpreted high-level general-purpose programming language. Python's design philosophy emphasizes code readability with its notable use of significant indentation. You can do amazing things using python. Python was developed by Guido Van Rossum. The python language first version was released in 1991. Python language is named as python after a BBC show "Monty Python's flying circus". Python is getting more popular and it has a strong community. Python language is now also being used in AI(Artificial intelligence) and Machine learning. 

Features of Python programming language -(in short)

1) Python is High level programming language.

2) Python is free and open source language.

3) Python is simple.

4) Python offer more effective error checking and python having built in high level data type.

5) Python is platform independent. 

6) Python is user friendly.

7) Python support object oriented programming concept. 



Types of error in python - 

1) Syntax Error - Syntax error means the structure of the program. If the syntax is not correct it result in syntax error. 

2) Runtime Error - Runtime error does not appear until the program has started running. it is also known as exception which indicates something bad(exception) has happened.

3) Semantic error - In this error, program will execute properly without showing any error message but it will not get the correct result. You can also say that there is a logical error.

4) Experimental error - Debugging is also known as an experimental error.



How to install Python? 

To install python perform the following steps :-

1) Go to - https://www.python.org/downloads/ 

2) click "Download" .

3) Download the any latest python version from the given website .

4) When download complete just open your file explorer and double click on downloaded python file and install the python in which directory you want. 

5) After the successful installation just double click on python icon on desktop to open python IDE.  



vs code 



Today i will tech you how you can send WhatsApp messages using. You can send WhatsApp messages using python by writing two lines of code. 

For doing this you must have installed python and any IDE which supports python like - Pycharm or VScode and you also need to install a lib which is known as pywhatkit.

To install this lib go to command prompt and type" pip install pywhatkit". 


code : - 

import pywhatkit

pywhatkit.sendwhatmsg('Contact no with country code','Message', HH, MM)



pycharm - https://www.jetbrains.com/pycharm/download/#section=windows


VS code - https://code.visualstudio.com/docs/?dv=win







Comments

Popular posts from this blog

Android 13 features| Android 13 updates| Material You design| language Customizable| Android themes Privacy and security controls in Android 13| App Hibernation in Android 13| Adaptive Charging in Android 13| Android 13 release date| Android Beta Program| Latest Android version

 Android 13: What's New and Exciting? Android 13, codenamed Tiramisu, is the latest version of Google's mobile operating system that is expected to launch in late 2023. Android 13 promises to bring a host of new features and improvements to enhance the user experience, security, and performance of Android devices. In this blog post, we will take a look at some of the most anticipated features of Android 13 and how they will benefit users and developers alike. One of the biggest changes in Android 13 is the introduction of Material You, a new design language that adapts to the user's preferences, mood, and context. Material You allows users to customize their device's theme, colors, fonts, icons, and shapes according to their personal style and taste. Material You also changes dynamically based on the time of day, the wallpaper, the app, and the device mode. For example, if the user switches to dark mode, the system will automatically adjust the colors and brightness to ...

DALL-E AI, AI-generated images, GPT-3, OpenAI, artificial intelligence, natural language processing, deep learning, neural networks, image synthesis, image recognition, visual content creation.

 DALL.E is an AI system that can create images from text descriptions, using a large neural network trained on a dataset of text-image pairs. It was introduced by OpenAI in January 2021, and has since been improved with DALL.E 2, which generates more realistic and accurate images with higher resolution. In this blog post, I will explain how DALL.E works and show some examples of its amazing capabilities. DALL.E is based on GPT-3, a transformer language model that can generate text for a wide range of tasks. DALL.E extends GPT-3 by adding image tokens to its vocabulary, allowing it to generate both text and images in a single stream of data. DALL.E receives both the text and the image as input, and is trained to generate all of the tokens, one after another, using maximum likelihood. To represent images, DALL.E uses a discrete variational autoencoder (VAE) that compresses each image to a 32x32 grid of discrete latent codes. Each code corresponds to one of 8192 possible image tokens....

Nurturing Wellness: Embracing a Healthy Lifestyle in Today's Fast and Busy World| Healthy lifestyle tips| Wellness in a fast-paced world| Balancing health and busy schedule| Prioritizing well-being| Healthy living strategies

Introduction: In today's fast-paced and hectic world, it is increasingly challenging to prioritize our health and well-being. As our lives become busier, our schedules more demanding, and technology constantly vying for our attention, the pursuit of a healthy lifestyle often takes a backseat. However, it is crucial to recognize that living a healthy life is not only essential for our physical well-being but also plays a significant role in our mental and emotional resilience. This comprehensive blog post aims to delve into the complexities of maintaining a healthy lifestyle amidst the demands of modern life. Through a thorough exploration of various aspects of well-being, practical tips, and evidence-based guidance, we hope to equip you with the knowledge and tools necessary to embrace a healthy lifestyle that nurtures your mind, body, and spirit. Section 1: The Foundations of a Healthy Lifestyle: 1.1 Understanding Health and Wellness: Defining health and wellness in the modern con...