Hi, @randyzwitch maybe my purpose was not clear before.
My meaning was, when I was not use streamlit, only run the example.py under local python environment.
code:
for i in content(a fake expression, as a cycle example):
** print_params=file_size-downloadsize/speed**
** print(’\r{:.1f}MB/s - {:.1f}MB,total {:.1f}MB,left {:.0f} 秒 '.format(print_params), end=’’)*
print_params is an expression that consisting of different parameters. different parameter’s value will change in a cycle period.
so the result is not a fixed string.
The result will show like this:
1.2MB/s - 4.6MB,total 3250.5MB,left 2636 seconds -------------one row, local time is 01:00
2.4MB/s - 40.5MB,total 3250.5MB,left 1349 seconds -------------same row, local time is 01:10
2.2MB/s - 48.5MB,total 3250.5MB,left 1335 seconds -------------same row, local time is 01:19
maybe a gif can express my purpose more well, but when I upload the file, platform told me there has some errors, it seems gif file is not supported by upload program.
so my purpose is use streamlit to show a information its content will change along with time change.
at the same time, different content is showed in fixed height range(same row)
how can we achieve it?
thanks a lot.