Added custom signals example in python.