微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

android QPython 启动失败

如何解决android QPython 启动失败

当我在三星 Tab A 上的 Qpyton 中运行此脚本时,它返回“开始:必须是 root”,我还没有找到在应用程序中为其提供 root 访问权限的方法,所以我有点迷失了。任何帮助都意味着很多。

#importing the modules
from gtts import gTTS
import os
from PIL import Image

pic1 = Image.open("---.png")
pic2 = Image.open("----.png")

#this is the imput and response
while True:
    a = input("")

    if a == "greetings computer":
        os.system("start greetings.mp3")

    if a == "what are we doing today":
        os.system("start talk.mp3")
    
    if a == "who are the ---":
        os.system("start ---.mp3")

    if a == "how are the --- influential":
        os.system("start how---.mp3")

    if a == "why did we choose the ---":
        os.system("start why---.mp3")

    if a == "--- picture":
        pic1.show()

    if a == "who is ----":
        os.system("start ----.mp3")

    if a == "how is ---- influential":
        os.system("start what----.mp3")

    if a == "why did we choose ----":
        os.system("start why----.mp3")

    if a == "---- picture":
        pic2.show()

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。