V
V
vladimir3282020-07-05 08:56:11
Python
vladimir328, 2020-07-05 08:56:11

Why is it giving a syntax error?

Gives a syntax error because of the line Everything was fine before bot.polling(none_stop=True, interval=0)

Answer the question

In order to leave comments, you need to log in

3 answer(s)
T
truenotnamed, 2020-07-05
@truenotnamed

Show the entire Traceback - it is extremely difficult to understand without it.

I
Ivan, 2020-07-05
@mlneko

Quite often there are situations when the interpreter shows one place, and the error is completely different.
Review your code, commas, brackets :)

S
Saraman, 2020-07-05
@Saraman

The complete code is missing.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question