How to use python code with Flutter application?

自作多情 提交于 2021-02-11 15:32:14

问题


I wanna to make a chatbot app with fluter, so i will use flutter only to create the user interface, and i wanna to interact my flutter app with python, so i will receive the question from flutter app and i will send it to python function, and this function should return the answer , and in flutter i will display it to the screen. Hint: 1- I made the UI with flutter. 2- I created python function "It uses Neural Network". 3- I wanna to use python as a function only, i will pass the questions to it, and it should return the answer. ... so i need now to know how to call my python function in flutter app??? enter image description here


回答1:


Try starflut package

It supports flutter to interact with other scripting languages such as python, java, ruby, golang, rust, etc. It is easy to use, supports android and ios platform.

Visit this link, the article might help you



来源:https://stackoverflow.com/questions/62742897/how-to-use-python-code-with-flutter-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!