Python works by compiling code into a custom, platform-independant bytecode format on the fly, then executing this. In practise, this means you just
download Python and install it, write your script as a text file, save it with the ".py" extension, and then double-click to run.