Sentiment Analysis with Python — Compucademy

In this article we are going to learn how to do some basic sentiment analysis with Python, using a wordlist-based approach and the afinn package.

First, you will need to install the package:

pip install afinn

or

pip3 install afinn on Mac/Linux