From dd8fac0141f918bb2f1029010ba84fc844fc9df0 Mon Sep 17 00:00:00 2001 From: Ramakm Date: Sun, 18 Sep 2022 21:19:52 +0530 Subject: [PATCH] Updated Readme file --- README.md | 5 +++-- WhatsApp.py | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 40c3767..42672a6 100644 --- a/README.md +++ b/README.md @@ -11,8 +11,9 @@ This python program will read the names of contacts availabe in 'contacts.csv' f ## To run the project : 1. Firstly update the contact list of 'contacts.csv' file ( the contact name should be same as it is saved in mobile) -2. Update the msg variable with your new msg availabe in 'WhatsApp.py' file -2. Run WhatsApp.py +2. To update CSV file. Please update through your whole Path name. like (c:\user..............). If after doing that its throowing your an error named "Unicode error". Just replace the file path from "\" to "\\" everywhere.(c:\\user\\......) +3. Update the msg variable with your new msg availabe in 'WhatsApp.py' file +4. Run WhatsApp.py >$ python WhatsApp.py ## After running the code: diff --git a/WhatsApp.py b/WhatsApp.py index 7b46a9f..b3b73e5 100644 --- a/WhatsApp.py +++ b/WhatsApp.py @@ -7,7 +7,7 @@ for row in csv_reader: contacts.append(row[0]) -driver=webdriver.Chrome() # Selenium chromedriver path +driver=webdriver.Chrome("") # Selenium chromedriver path driver.get("https://web.whatsapp.com/") while True: