Added python equivalent (hopefully)

I dun like da PHP os I added a Python version.