python + webpy 如何获取表单数据?
<form action='' method='post'> <ul> [color=#FF0000]$for x in destpriv: <li>$x[0] $if x[1] == 'R': <lable>R:</lable> <input type='checkbox' name='chkname' value='R' checked = 'yes'> $else: <lable>R:</lable> <input type='checkbox' name='chkname' value='R'> $if x[1] == 'W': <lable>W:</lable> <input type='checkbox' name='chkname' value='W' checked = 'yes'> &nbs19:36 2012-4-17p; $else: <lable>W:</lable> <input type='checkbox' name='chkname' value='W'> $if x[1] == 'F': <lable>F:</lable> <input type='checkbox' name='chkname' value='F' checked = 'yes'> $else: <lable>F:</lable> <input type='checkbox' name='chkname' value='F'>[/color] </li> </ul> <input type = 'submit' value='Save'> </form>