Added top in python.