shenzhen-solitaire.py
def from_img(cls, img):
        """Produce a card from a PIL image."""
        imh = img_hash(img)
        if imh in cls.CARD_NAMES:
            return cls.from_str(cls.CARD_NAMES[imh])
        else:
            return None
Produce a card from a PIL image.
Produce a card from a PIL image.
Produce a card from a PIL image .
def from_img(cls, img):
        imh = img_hash(img)
        if imh in cls.CARD_NAMES:
            return cls.from_str(cls.CARD_NAMES[imh])
        else:
            return None
def from_img ( cls , img ) : imh = img_hash ( img ) if imh in cls . CARD_NAMES : return cls . from_str ( cls . CARD_NAMES [ imh ] ) else : return None
Produce a card from a PIL image.
Produce a card from a PIL image .
"""Produce a card from a PIL image."""
cls
img