Open study

is now brainly

With Brainly you can:

  • Get homework help from millions of students and moderators
  • Learn how to solve problems with step-by-step explanations
  • Share your knowledge and earn points by helping other students
  • Learn anywhere, anytime with the Brainly app!

A community for students.

Why does Python crash when I run PS5 (Spring 2011)? When I run the test everything is ok. I've done everything except part 4 (user-specified triggers) and it says that it should work by now.

MIT 6.00 Intro Computer Science (OCW)
I got my questions answered at in under 10 minutes. Go to now for free help!
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.

Get this expert

answer on brainly


Get your free account and access expert answers to this and thousands of other questions

you didn't post your code. the question you asked probably wasn't what you intended. if it should work it should work so something is wrong and if you want us to de-bug or troubleshoot it for you, you need to post your code and ask more specific questions. i imagine that anyone reading this forum that isn't posting a similar question does not have a problem with their ps5 solutions
@David Can you provide more information by adding some code Just copy your code and paste it here like `YOUR_CODE_HERE` Then we'll be able to help you

Not the answer you are looking for?

Search for more explanations.

Ask your own question

Other answers:

pls use a code pasting site like: select Python for syntax hi-lighting
Sorry for the delay but wasn't able to post it sooner.
what is not happening? I got two news stories as soon as i ran it then it slept and polled and slept and ........... seems to be working
kinda cool
i can change the triggers in the main_thread function and get different stories
I just completed the last part (Part 4 - ) and I stil have the same problem. When I run it,it says ''Python has stop working".
I already added '()' in line 336 but it still crashes.
Can it crash if it returns too many news? It appears to crash when I use 'Syria' as a trigger.
it is not crashing when i use it with Syria as a trigger - i am using v 2.7.2 I'm not getting any hits on Syria today here are my triggers
try to play with it in the shell/idle use ctrl-c to stop the main loop and try to run the process function (see line 14 of this post) - then you can see if that is working
It is working now thanks.
what was it??
I am not sure. After I fixed the lack of brackets, I saved, closed and opened again and it was good to go.

Not the answer you are looking for?

Search for more explanations.

Ask your own question