How To Use Within A Python Code