whatsapp-parser
whatsapp-parser copied to clipboard
Can't open 'chat.py'
Hi, I came across the below error when trying to run the program. It seems as though python is looking for 'chat.py' which doesn't seem to exist inside any of the directories..
Jacks-MBP-2:whatsapp-parser jackedmond$ python chat.py -f chat.txt -p WhatsApp -n "Nikolas Moya" -r sleepy yes
python: can't open file 'chat.py': [Errno 2] No such file or directory
Apologies if this is a stupid question.. I'm just getting started
@jackedmond hey, sorry for the late response. No stupid questions.
The README file is wrong, you found a bug!
You should run the program like this:
python wp_parser/wp_chat.py -f chat.txt -p WhatsApp -n "Nikolas Moya" -r sleepy yes
Also, the second parameter, chat.txt don't exist in the project. You need to replace this with a text file that follows the format specified in test/testChat2.txt.