File "/home/yacc/workshop/game/poker-master/PokerModel.py", line 101
print "There are not enough cards! I can only deal " + str(len(self.deck)) + " cards."
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
File "/home/yacc/workshop/poker-master/PokerModel.py", line 186, in replace
for i in xrange(3):
NameError: name 'xrange' is not defined. Did you mean: 'range'?
File "/home/yacc/workshop/poker-master/PokerModel.py", line 267, in get_score
sorted_cardCount = sorted(cardCount.iteritems(), key=operator.itemgetter(1,0), reverse=True)
AttributeError: 'dict' object has no attribute 'iteritems'