Python Get Method By Precision