Track Python imports