M
M
Maruf2021-03-21 13:21:24
Python
Maruf, 2021-03-21 13:21:24

Error when creating a telegram bot, what to do?

help me please! I didn't find
python Bot.py all over the Internet
Traceback (most recent call last):
File "Bot.py", line 2, in
import config
ModuleNotFoundError: No module named 'config'

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Karbivnichy, 2021-03-21
@Maruf995

Create a config.py file and write something like this:
token = "токен"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question