Re: [Tutor] Thanks for the advise to tutor! HTTP Error 400 resolved

2018-02-14 Thread cm
> -- Forwarded message -- > From: Peter Otten <__pete...@web.de> > To: tutor@python.org > Cc: > Bcc: > Date: Tue, 13 Feb 2018 14:47:56 +0100 > Subject: Re: [Tutor] [Help] urllib.error.HTTPError: HTTP Error 400: Bad > Request > cm wrote: > >&

[Tutor] [Help] urllib.error.HTTPError: HTTP Error 400: Bad Request

2018-02-13 Thread cm
Dear tutors, I have written below function to open the profanity check url and then to check for profanity in some text. When I go to the url http://www.wdylike.appspot.com/?q= and type in the same text, it works fine. I am using Microsoft OS X and Python 3.5.2 Interpreter with Pycharm Community