This guide is for running files outside of Blender. If you want to run a Python script in Blender, you need to switch your viewport to the scripting perspective and click "play". You can find a ...