Skip to main content
2 of 2
replaced http://stackoverflow.com/ with https://stackoverflow.com/

Your file is named stackexchange.py, so Python is recursively loading it instead. This is a very common Python pitfall:

Fix

Change the filename: call your script se-test.py or something.