Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
104 views

PSET6/Sentiments/analyzer.py, tweets

I have been trying hard to get my mistakes for this PSET but can't find what errors have I made in implementing analyzer.py and tweets.On running ./smile word be it love, hate, Stanford I get :| in ...
sk.76's user avatar
  • 312
1 vote
1 answer
941 views

Error in pset6 API Key not set

I'm getting this error, I have been working to make it work but i can't. I followed the instructions on setting up the API_KEY value: Traceback (most recent call last): File "tweets", line 25, in ...
Josué Oswaldo Arreola Vargas's user avatar
0 votes
1 answer
443 views

Pset6 Tweets output score and color different to staff version

My Tweets function can output score and tweet from Tweeter user. However, the output is a bit different to the staff version's output. I find that some words with first character capitalized are not ...
eddiewong's user avatar
0 votes
1 answer
605 views

Lost trying to figure out sentiments PSET 6 2017

I need some help with pset6 I'm basically lost trying to figure out what I should be doing. I have my analyzer code which doesn't return any errors when I run it but at the same time returns no output ...
Dave G's user avatar
  • 15
2 votes
1 answer
10k views

Why am I getting TypeError: expected string or buffer?

This is my tweets file #!/usr/bin/env python3 import os import sys from analyzer import Analyzer from termcolor import colored from helpers import get_user_timeline def ...
Cristian's user avatar
  • 117