GPT from python subprocess

Hi,
I’m using the gpt command line from python with the following : subprocess.Popen ( command_line , shell = True , stdout = subprocess.PIPE )
Does anyone knows how to print out the evolution of the process ?
When I use the same command line in the cmd window, I have 10%… 20%… 30% etc.
I would like to have the same using python.

Thank you for your help.

Marc

you probably have to replace subprocess.PIPE for subprocess.STDOUT