Paste a piece of code which is unclear to you and we can clarify it's meaning in pseudocode. Do not post externally, but include as normal attachment or preferably just code block. The files in your rar file seemed to be OK, except wrong file types and one of the files had only double instead of triple quotes for docstring at beginning of the file.
Good point to start understanding Python would be to go through the tutorial at python.org. If you know other programming language well, it should be then be possible for you to recode the main part of the program in PHP. Any points that you find difficult to catch, we can help you understand.