I have a python script, which I am calling from the php file.
My output is coming as expected, when run as python test.py
But when I am trying to run the php file through the browser, I am not getting the output.
However, on commenting the following lines, I am able to get some results. But I want these lines to run.
with open(filen,'w') as f:
f.write(str("write date"))
I am not sure, what's happening. Can anyone explain what difference its making when php reaches these lines.
Thanks