```sh
# examples/ding-dong-bot.py : func-> main()
# it must be donut token
export WECHATY_PUPPET=wechaty-puppet-service
export WECHATY_PUPPET_SERVICE_TOKEN=your_token_at_here
```
or you can use `TOKEN` or `token` environment variable alias name to set **token**, for example:
```shell
export TOKEN=your_token_at_here
# or
export token=your_token_at_here
```
python-wechaty-getting-started

Python Wechaty Starter Project Template that Works Out-of-the-Box
Connecting Chatbots
Wechaty is a RPA SDK for Wechat Individual Account that can help you create a chatbot in 9 lines of Python.
Requirements
Live Coding Video Tutorial
Here’s a great live coding video tutorial from our Python Wechaty creator @wj-Mcat: https://wechaty.js.org/2020/10/26/python-wechaty-live-coding/
Quick Start
Clone python-wechaty-getting-started repository
Install Dependencies
Set token for your bot
You need a Wechaty Puppet Service Token first, you can learn how to get it from our official docs at https://wechaty.js.org/docs/puppet-services/.
Run the bot
The World’s Shortest Python ChatBot: 9 lines of Code
Wechaty Getting Started in Multiple Languages
Badge
Maintainers
@wechaty/python
Copyright & License