<p>
<label for="1">北京</label>
<input type="checkbox" name="region" id="1" value ="1"/>
</p>
<p>
<label for="2">上海</label>
<input type="checkbox" name="region" id="2" value ="2"/>
</p>
<p>
<label for="3">广州</label>
<input type="checkbox" name="region" id="3" value= "3"/>
</p>
接受的代码
print web.input()
print web.input(region=[])
结果是
<Storage {'region': u'3'}>
<Storage {'region': [u'1', u'2', u'3']}>
关于web.input的官方说明url