Trace Function In Python Example