HI I am using PHP to execute python script:
pdf.py
import pdfkit pdfkit.from_url('https://www.google.co.in/','google.pdf');
data.php
ini_set('display_errors', 1); error_reporting(E_ALL ^ E_DEPRECATED);
exec("python pdf.py");
I tried executing ython file using php with above data, But script not run .