CodeIgniter Forums
Calling a Python Script from Codeigniter - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forum-5.html)
+--- Forum: General Help (https://forum.codeigniter.com/forum-24.html)
+--- Thread: Calling a Python Script from Codeigniter (/thread-67773.html)



Calling a Python Script from Codeigniter - fnbhns - 04-07-2017

Dear All,

I would like to call a Python script from my codeigniter file, that is I am using XAMPP with apache server besides this Python with Canopy-jupyter. Want to display the Python result into my html web site. I used the following code in my controller, Its display the python script that is the code i written in python. But not the Result of python script.


Code:
exec('C:/py/test.ipynb');