当按下在flutter中编程的按钮时,有没有一种方法可以运行python脚本?

问题描述 投票:0回答:1

基本上,我想做的是,按下我在Flutter中编程的按钮,当按下该按钮时,应该在我的Android设备上开始运行python脚本。

我想在python中使用youtube-dl(用于下载Youtube视频)库,但我想知道是否有一种方法可以在flutter中运行该库。

感谢您的帮助。提前致谢 。

python android android-studio flutter youtube-dl
1个回答
0
投票

检查此包装https://pub.dev/packages/starflut。它将帮助您将Java / python脚本放在您的flutter应用程序中]

© www.soinside.com 2019 - 2024. All rights reserved.