added the python script

@karlnapf 
take a look at this.
I forgot but is zero mean now a special case of const mean?