How To Use Cache In Python