0

How to stop the twython streamer using pickle?

def twitter_stop(request):
stream = request.session['stream']
pickle.dumps('models.pyc')
stream = pickle.load(pkl_file)

stream.disconnect()
return HttpResponse(request)

The above are my codes and I dun really know what should be put inside the pickle.dump

Joseph Lee
  • 15
  • 4

0 Answers0