Window Parent Call Function Python Example