Python Forum
Sending Whatsapp Message in the text file
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sending Whatsapp Message in the text file
#10
It depend on what pywhatkit accept,it works from Python side.
with open("test.txt", encoding='utf-8') as f:
    print(f.read())
Output:
Hello 💗👧💗➕💙
Try different stuff and just one Emoji at time as test.
print(f'\N{grinning face}')
print(f'\N{eye}')
Output:
😀 👁
emoji 1.7.0
# pip install emoji
import emoji

print(emoji.emojize('Python is :thumbs_up:'))
print(emoji.emojize('Python is fun :ghost:'))
Output:
Python is 👍 Python is fun 👻
Reply


Messages In This Thread
RE: Sending Whatsapp Message in the text file - by snippsat - Jun-21-2022, 04:26 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Sending a text from Python sawtooth500 2 428 Apr-14-2024, 01:56 PM
Last Post: sawtooth500
  Eliminate entering QR - Whatsapp web automated by selenium akanowhere 1 3,221 Jan-21-2024, 01:12 PM
Last Post: owalahtole
Thumbs Up Need to compare the Excel file name with a directory text file. veeran1991 1 1,283 Dec-15-2022, 04:32 PM
Last Post: Larz60+
  Modify values in XML file by data from text file (without parsing) Paqqno 2 1,892 Apr-13-2022, 06:02 AM
Last Post: Paqqno
  Converted Pipe Delimited text file to CSV file atomxkai 4 7,425 Feb-11-2022, 12:38 AM
Last Post: atomxkai
  Trying to parse and work with the WhatsApp export of chats cubangt 6 2,999 Dec-16-2021, 08:20 PM
Last Post: cubangt
  [split] How to convert the CSV text file into a txt file Pinto94 5 3,584 Dec-23-2020, 08:04 AM
Last Post: ndc85430
  Winning/Losing Message Error in Text based Game kdr87 2 3,141 Dec-14-2020, 12:25 AM
Last Post: bowlofred
  how to automate sending bulk emails from an excel file or a calc-file apollo 0 2,909 Dec-10-2020, 08:43 PM
Last Post: apollo
  Saving text file with a click: valueerror i/o operation on closed file vizier87 5 4,696 Nov-16-2020, 07:56 AM
Last Post: Gribouillis

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020