Using in Django exactly same python database code already working in PHP
I have a bunch of files containing python functions, used in a web-serving apache2,
they are all called from PHP as shell scripts just with “python3 ‘file’ ‘args'” (without
the -m, that is) and return data to PHP via JSON strings, are all debugged since a long time,
and work well.