Now that you have your SMTP connection set up and authorized your app with Google, you can finally use Python to send email with Gmail
Installation of pysftp in debian 9 and Ubuntu
I see two answers with good qualities, each with a small flaw, so I will give my take on it: Try os.path.exists, and consider os.makedirs...
Try the xlrd library. From what I can see from your comment, something like the snippet below might do the trick. I'm assuming here that...
nltk tweettokenizer, Natural Language Toolkit