示例#1
0
文件: example.py 项目: frnsys/cards
from cards.generate import generate_card

for i in range(10):
    c = generate_card()
    print('\n')
    print(c)
    print(c.image)
示例#2
0
文件: __init__.py 项目: frnsys/cards
def index():
    card = generate_card()
    return render_template('card.html', card=card)