Python Get String Hashcode