Update pycard.py