osome-iu / botometer-python

A Python API for Botometer by OSoMe
https://botometer.osome.iu.edu
MIT License
371 stars 59 forks source link

Unexpected EOF in parsing when trying to check a sequence of accounts. #64

Closed Tom1316 closed 3 years ago

Tom1316 commented 3 years ago

I tested my keys by using the code you've provided for checking a single account and the results printed perfectly. However, when I run your script to check multiple accounts, I get the following error:

Check a sequence of accounts

accounts = ['@clayadavis', '@onurvarol', '@jabawack'] for screen_name, result in bom.check_accounts_in(accounts):

File "", line 3 for screen_name, result in bom.check_accounts_in(accounts): ^ SyntaxError: unexpected EOF while parsing

Thank you for your help.

Tom1316 commented 3 years ago

If the ^ doesn't display correctly, it's coming at the end of the code aft the ":".