Skip to main content
1 of 2

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.