Void PythonCodeEventBased.Connect()

Register the python code.