3. How to prepare and start using the avtTicTacToeBot project step by step

3.1 Fork, Clone or Download the project

3.2 Create and activate a new Python virtual environment

$ python3 -m venv ./venv

$ source ./venv/bin/activate

Use (venv) $ deactivate for deactivate and exit from Python virtual environment.

3.3 Install the requirements

You can install or upgrade python-telegram-bot library with:

$ pip3 install python-telegram-bot --upgrade

3.4 Create a new Telegram bot with BotFather and obtain an Access Token

BotFather is a special bot for creating and managing bots in Telegram. To create a new Telegram bot and generate an Access Token, you have to talk to @BotFather and follow a few simple steps (described here).