gpt4 book ai didi

Python通知

转载 作者:行者123 更新时间:2023-12-01 06:31:32 25 4
gpt4 key购买 nike

有没有办法让我将“a”中的内容带入消息中?

a = print("You have shown",top1.value,"and",top2.value)
notification.notify(title="Facial Expression" , message =" ", app_icon=None, timeout=3,)

最佳答案

print() 方法不返回值。

a = "You have shown " + top1.value + " and " + top2.value
print(a)
notification.notify(title="Facial Expression", message=a, app_icon=None, timeout=3,)

关于Python通知,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59889925/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com