Flask WTForms: how do I get a form value back into Python?
问题 What I'm trying to do is get user input on 5 different fields, then have what the user entered available to use in the rest of my program in python. The code I have so far, looks like this: class ArtistsForm(Form): artist1 = StringField('Artist 1', validators=[DataRequired()]) artist2 = StringField('Artist 2', validators=[DataRequired()]) artist3 = StringField('Artist 3', validators=[DataRequired()]) artist4 = StringField('Artist 4', validators=[DataRequired()]) artist5 = StringField('Artist