1👍
Python can simply do all the tasks without PHP
You can simply write a web service using HTTP Protocol on your own machine like
Except Django, there are many lightweight web framework to do the task, which are easier for beginners. You can check out the flowing frameworks and choice one you prefer
Hope it helps
👤Eric
0👍
You could use raw sockets in your Python and php programs to make them communicate through TCP locally.
Make your Python program a TCP server with address ‘localhost’ and port number, for example, 5555, and then, in your php script, also using sockets, create a client code that sends the to be processed text as a TCP request to your Python script.
- Django not authenticating using custom User model
- Calling an instance of same class inside class
- How to connect button and field value with jQuery for object in for loop from template
Source:stackexchange.com