0

I have a problem with the final part of Pset6 2017 - printing a pie chart showing the distribution of a particular twitter user's tweets according to whether they are positive, negative or neutral. When I enter "python applications.py @cs50" (for example) at the terminal command line, I appear to get no response at all - simply a pause for a second or so as the command runs, then a new command line. I'm really confused, as my code for applications.py deliberately includes some print statements as (temporary) checks to see how the code is running - see lines 34 and 63-65.

My code is

Edited out per the course's academic honesty policy - code not relevant to answering the question! See Blauelf's response

  • PS - many thanks in advance for any help! – Matt Friend May 9 '17 at 12:56
  • 1
    Use flask run instead of python application.py – Blauelf May 9 '17 at 13:48
0

Thanks Blauelf. Also, thanks for being kind and not pointing out that, well, that's written in the instructions...too blind to see it!

  • PS - I'll mark this questions as answered in 2 days when I'm allowed to by the system. – Matt Friend May 9 '17 at 22:24

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .