How to merge codes like python, php and javascript?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

How to merge codes like python, php and javascript??

i want to know techniques to merge codes easily, cause i want to create an AI program. so please help me.😊 and feel free to correct my question.

26th Sep 2017, 5:58 AM
Sanika Awasthi
Sanika Awasthi - avatar
1 Answer
+ 12
well idk how you'd do those web-wise, as two of those are web languages... php + js is easy, js + py is possible through a framework like flask, but php + py is a bit odd, but I suppose you would just run a file of the other language to do what you want. rethinking this... javascript would be the code logic of the page that would host the output of your ai. php would be the backend of the site, and it would call python machine learning neural network scripts for your ai, which would then get sent from py to php to finally javascript
26th Sep 2017, 6:25 AM
Ahri Fox
Ahri Fox - avatar