Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 RPi 3B 上运行 Google Assistant SDK。 为了触发助手,我设置了一个检测输入的 Python 脚本。 我对 Python 知之甚少,也不知道如何从这个脚本触发助手。
谁能帮我这个?
您可以使用 Python操作系统功能:
import os os.system('/home/pi/env/bin/./python /home/pi/env/bin/google-assistant-demo')