X
X
Xacker_Name2021-08-15 10:07:42
Python
Xacker_Name, 2021-08-15 10:07:42

Why, when starting a bot in a telegram on telebot, does it write that SyntaxError: invalid syntax (below is the entire error)?

Why, when starting a bot in a telegram on telebot, it writes like this:

Traceback (most recent call last):
  File "/root/HANDLER/main.py", line 14, in <module>
    from secured_config import TG_TOKEN
  File "/root/HANDLER/secured_config.py", line 13
    "1045940360": ,  # ID для получения уведомлений.
                  ^
SyntaxError: invalid syntax

Answer the question

In order to leave comments, you need to log in

1 answer(s)
U
UberPool, 2021-08-15
@rt2233

dict contains key, value you have key, example:

example_dict = {
'key':'value'
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question