0

How to add next page button of my data ?

Plz help me to fix this .. ["list"] text = "" count = 0 for i in range(len(data)): if count > Configs.MAX_RESULTS: break

12th Nov 2021, 4:28 AM
RAMESH KU. SAHU
RAMESH KU. SAHU - avatar
12 odpowiedzi
0
I understand you want to complete your project. But look I cannot make it or complete it as I didn't have built any of these, so I don't know the flow of code. You have to self find a solution to your problem, I can only suggest you
14th Nov 2021, 3:44 PM
AKSHAY🇮🇳
AKSHAY🇮🇳 - avatar
+ 3
Information you have provided is not enough to find a solution for your problem. Elobarate your problem, add more information to your code and the area where you are working on (web, automation, gui,etc.)
12th Nov 2021, 6:30 AM
AKSHAY🇮🇳
AKSHAY🇮🇳 - avatar
0
Let me share
12th Nov 2021, 6:32 AM
RAMESH KU. SAHU
RAMESH KU. SAHU - avatar
12th Nov 2021, 6:34 AM
RAMESH KU. SAHU
RAMESH KU. SAHU - avatar
0
Maximum result is break so I want to add a next page button to next page
12th Nov 2021, 6:35 AM
RAMESH KU. SAHU
RAMESH KU. SAHU - avatar
0
If `Configs.MAX_RESULTS` is a integer then you can do some mathematics to get the next set of data. Like for second page, your range can be `Configs.MAX_RESULTS*(page_no-1) to Configs.MAX_RESULTS*page_no`
13th Nov 2021, 2:57 AM
AKSHAY🇮🇳
AKSHAY🇮🇳 - avatar
0
Could you please add this code in proper place ?
13th Nov 2021, 3:35 AM
RAMESH KU. SAHU
RAMESH KU. SAHU - avatar
0
I m a learner
13th Nov 2021, 4:22 AM
RAMESH KU. SAHU
RAMESH KU. SAHU - avatar
0
Look, I am giving you hints... How you can do it. I cannot make full code or change something in your code as I haven't worked on these till now. So I can only suggest you some ways to do so. You can refetch the data or store it somewhere else and use my above way to show different range of data according to the requirement
14th Nov 2021, 9:27 AM
AKSHAY🇮🇳
AKSHAY🇮🇳 - avatar
0
Plz teach me
14th Nov 2021, 3:32 PM
RAMESH KU. SAHU
RAMESH KU. SAHU - avatar
0
Do you know paython code ?
14th Nov 2021, 3:46 PM
RAMESH KU. SAHU
RAMESH KU. SAHU - avatar
0
If you know than ... Help me to put a line into it ... I mean can you add line ? text += f"**📂Title:** {data[i]['title']}\n" \ f"**✅PDisk Link:** {Configs.PDISK_DOMAIN + 'share-video?videoid=' + data[i]['share_link'].split('=', 1)[-1]}\n\n" try: await editable.edit(text, disable_web_page_preview=True) except MessageNotModified: pass
14th Nov 2021, 3:50 PM
RAMESH KU. SAHU
RAMESH KU. SAHU - avatar