You need selenium to use webdriver, i code this bot using that library.
If you want to install selenium library just run this command
pip install selenium
Addfollows.py you have just two function. login() and followers() both recieve parameters, in login you need to pass your username and your password like this:
login("myuser", "mypassword)"
In follwers the only parameter that you need to pass is just an array of accounts that the bot will go.