如何在Flutter应用程序中使用python代码? [英] How to use python code with Flutter application?
问题描述
我想用fluter制作一个聊天机器人应用程序,所以我将仅使用flutter创建用户界面,并且我想将我的flutter应用程序与python交互,因此我将收到flutter应用程序的问题并将其发送给我到python函数,此函数应返回答案,并且在颤动中我将其显示在屏幕上.暗示:1-我使UI颤抖了.2-我创建了python函数它使用神经网络".3-我只想使用python作为函数,我将把问题传递给它,它应该返回答案....所以我现在需要知道如何在flutter应用程序中调用我的python函数???在此处输入图片描述
尝试 starflut软件包 >
它支持flutter与其他脚本语言(例如python,java,ruby,golang,rust等)进行交互.它易于使用,支持android和ios平台.
访问此链接,这篇文章可能会对您有所帮助
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
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
这篇关于如何在Flutter应用程序中使用python代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!