dan-da/py2php

Auto-convert recursively into subfolders?

Closed this issue · 3 comments

Is recognizing subfolders in which the python code resides then recursively entering and converting py code found within something that I will see when I use this converter?

The php script translate_python_to_php will find all python files in a given directory and translate to php. It does not recurse at present.

It is a very simple script, and should be straight-forward to add sub-directory recrusion. If you add that functionality, please submit a pull request.

otherwise, i will keep this issue open and may add it later when I have some free time.

Thanks! Due to a fully loaded docket, it's unlikely I can add the functionality, but I will try!

I added a script build_all_py.php to build recursively in f340e91.

It's very basic and only works on linux/unix for now. maybe can improve it later.