Html is not executed

On 29/01/2016 at 14:53, xxxxxxxx wrote:

I have a webpage that I want to open using python and store the result.

If I do this directly in a browser, it is working (a test sentence is given).
However, when I do this using Python (see below code), the html code is returned and not the resulting test sentence.

What is wrong?

On 29/01/2016 at 15:27, xxxxxxxx wrote:

After giving it some second thoughts, it is logical that I receive back the code and not the result.
The code is sent to the browser and there it is (local) interpreted, giving the result.

Python does not do the interpretation from html code to result (it is not a browser).
I guess my brains were already in weekend mode.