Convert strings into unicode playing cards
A Python module for converting strings into unicode playing cards.
pip install unicards
>>> from unicards import unicard >>> print(unicard('As')) 🂡 >>> print(unicard('Jd')) 🃋 >>> print(unicard('Tc')) 🃚 >>> print(unicard('2h')) 🂲 >>> unicard('8d', color=True) u'\x1b[31m\U0001f0c8\x1b[39m'
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.