I have this function I have written that shows how much of a percentage is done given progress in a loop..so..if you are iterating through a loop that is 500 long, at 200 it says "40%",240 "48%", and so on, but, how do you just change the value on the screen, not print a new one on a new line?

This page summarizes the projects mentioned and recommended in the original post on /r/learnpython

Scout Monitoring - Free Django app performance insights with Scout Monitoring
Get Scout setup in minutes, and let us sweat the small stuff. A couple lines in settings.py is all you need to start monitoring your apps. Sign up for our free tier today.
www.scoutapm.com
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
  • tqdm

    :zap: A Fast, Extensible Progress Bar for Python and CLI

  • I can recommend you the package tqdm (https://github.com/tqdm/tqdm) You can replace the standard for statement with it, or use it with any other iterable. By default, it gives you a progress bar with a percentage and ETA, but you can also configure it to only print the percentage, if you want that. If you want to use print statements, adding \r at the beginning and not putting a line end should also do the trick.

  • Scout Monitoring

    Free Django app performance insights with Scout Monitoring. Get Scout setup in minutes, and let us sweat the small stuff. A couple lines in settings.py is all you need to start monitoring your apps. Sign up for our free tier today.

    Scout Monitoring logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Helper class for tracking the progress of iteration in CLI

    2 projects | /r/PHP | 2 Jul 2023
  • I keep getting this issue, can anyone help??

    1 project | /r/blender | 6 Feb 2023
  • [2022 Day11 (Part2)] [python] brute force

    2 projects | /r/adventofcode | 11 Dec 2022
  • How to implement a progress bar for non verbose commands?

    1 project | /r/linuxquestions | 25 Nov 2022
  • tqdm/tqdm: A Fast, Extensible Progress Bar for Python and CLI

    1 project | /r/devel | 9 Nov 2022