Some python code parts to use for any purpose !