After looking at the following question with regards to Python Progress bars, I am still confused: Python Progress Bar
I am new to Python and I am trying to add a progress bar to a script I created which runs a for loop. The loop takes a significant amount of time to process so I want the progress bar to show when the loop is running. The part that confuses me is, do I have set to up a loop inside of a loop in order to implement a progress bar? Here is a sample of my for loop from my code:
for member in members:
url = "http://api.wiki123.com/v1.11/member?id="+str(member)
header = {"Authorization": authorization_code}
api_response = requests.get(url, headers=header)
member_check = json.loads(api_response.text)
member_status = member_check.get("response")
Do I need to include the code to add a progress bar INTO this loop or does it have to be included outside of the loop? Thanks.
Update: I mention the progressbar library here but I am open to suggestions of other libraries.