Mar-29-2018, 08:49 AM
I have this problem.I need to submit 20 words separated by a comma to a web service.The words i am getting them from mysql database. I am new to python.
Is there a data structure that i can use to do the following:
1. I have 1000 records in mysql table
2. I want to use python to select and display 20 records at a time and if the records dont number 20, just display whatever is there.
My question is, is there a data structure in python that can help me do this and second ho can i construct such a loop.
Is there a data structure that i can use to do the following:
1. I have 1000 records in mysql table
2. I want to use python to select and display 20 records at a time and if the records dont number 20, just display whatever is there.
My question is, is there a data structure in python that can help me do this and second ho can i construct such a loop.