问题描述
当我在三星 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 (将#修改为@)