Python script update progress