欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2, C++/F#/Lisp
Quixote Form Framework
来自开放百科 - 灰狐
from quixote.form import Form
class UserForm (Form): def __init__ (self): Form.__init__(self) user = get_session().user self.add_widget("string", "name", title="Your name", value=user.name) self.add_widget("password", "password1", title="Password", value="") self.add_widget("password", "password2", title="Password, again", value="") self.add_widget("single_select", "vote", title = "Vote on proposal", allowed_values=[None] + range(4), descriptions=['No vote', '+1', '+0', '-0', '-1'], hint = "Your vote on this proposal") self.add_widget("submit_button", "submit", value="Update information")
More detail: http://www.quixote.ca/learn/2
分享您的观点