D
D
DTPlayer2020-04-23 20:08:09
Python
DTPlayer, 2020-04-23 20:08:09

SyntaxError: positional argument follows keyword argument how to solve?

if message.text == "Тестовая оплата":
    file = str(userid)+"last_pay.txt"
    link = get_payment_link(pay=1,number)
    markup = telebot.types.InlineKeyboardMarkup(row_width=1)
    button = telebot.types.InlineKeyboardButton(text='Перейти к оплате', callback_data='payment', url=link)
    button1 = telebot.types.InlineKeyboardButton(text='ОПЛАТИЛ', callback_data='check_test')
    markup.row(button)
    markup.row(button1)


value number = "phone number"
Error - SyntaxError: positional argument follows keyword argument
How to solve?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question