Some usefull Python functions for my future projects.