Forums

How to run a python script from PHP

Dear Friends, I uploaded a python script to use for my PHP Web site. I need to execute same . How it can done ...Please advise with a sample code ...

Thanks Anes

You will have to use a wsgi compliant webapp framework for deploying on pythonanywhere. Check out flask/django/bottle/web2py etc.