Better way of getting python path