使用 Python 函数构建 hello world bot
- Updated: 2021/09/03
使用 Python 函数构建 hello world bot
创建一个调用 Python 函数说出 Hello World 的 bot 。
先决条件
要从 Automation 360 运行 Python 脚本,您必须已在设备上安装了最新版本的 Python 3.x。
下面是包含一个简单函数的 Python 脚本。 此脚本用于此任务。
# 函数定义位于此处 def printme( str ): print(str) return str