Python+arduino+RFID to open web page

Hey Guys ,

so im trying to use a Arduino Yun, A paralax RFID reader/Writer module and a mac to simply use one RFid card to swipe and launch a web site. Found something similar here: ( the code to read the rfid cards did not work so i found this one that did ( the middle code works, but then when i try to use it as instructed it will not work, I am a complete noob when it comes to code, have been  a system builder for many years , just now getting into this so excuse my ignorance. But please if you guys can help in any way let me know. I believe that the problem might be in the python code. But i do not know enough to change it effectively.


Again thanx again in advance !