I have a CLI program (a downloader) which is returning the following line when operating :
[*..........] xx.x% yyy,yyMb out of zzz,zzMb
I am launching this with a subprocess in Python, and I'd like to know how I can capture the output and how I can selectively get: - the percentage info - the downloaded amount in Mb info - the total size of the file in Mb
Appreciate your help (Python 2.6 compatible solution, please).