0 votes
1 view
in Data Science by (18.3k points)


I want to send WhatsApp messages to numbers without adding them contact using python.

so I used upper code in my program but I want to ask that, I am making a tkinter project, in my >>>program cph is phone number variable and I also called cph.get() function but how can I use

this cph variable in this link.

1 Answer

0 votes
by (36.8k points)

You can define your link before opening it.

link = "https://api.WhatsApp.com/send?phone=" + variable


Learn data science with python course to improve your technical knowledge. 

Welcome to Intellipaat Community. Get your technical queries answered by top developers !