modified python init
added pyr