modifications in order for canopy to usable as python.