PHP style comments changed into Python style comments
Further corrections (PHP -> Python)