It seems like you copy and paste it somewhere, I dont think its meant to be tricky or complicated. Thats the impression i get from look at the site. Ill try emailing the owner of the site , i have a feeling you just copy and paste it somewhere. I just dont know where. Ill keep ya updated.
Yes ,
https://dicesites.com/provably-fair won't help since it has support for many other sites but not satohibones. Satoshibones works differently. Have a look here https://docs.python.org/3.4/library/hashlib.html
You are indeed correct you do copy and past the code but first you need your tx. Everyday the secret that you use to hash with your tx will be found here http://bitzillions.com/satoshibones/verify it will change each day.
If you like you can run different kinds of code on the following site http://ideone.com/fork/BAoZgq