a Spider write in python