Changeset 15627
- Timestamp:
- 30 Sep 2019, 21:39:12 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/utils/helpers.py
r15597 r15627 900 900 901 901 >>> extract_formvars("<input type='text' name='foo' value='bar'>") 902 {'foo': 'bar'}902 {'foo': u'bar'} 903 903 904 904 The sample doc we stored in tests is a bit more difficult:: … … 909 909 >>> import pprint 910 910 >>> pprint.pprint(extract_formvars(html_code)) 911 {'AMOUNT': '100',911 {'AMOUNT': u'100', 912 912 ... 913 'TRANS_NUM': '01ESA20190916134824YA3YJ8'}913 'TRANS_NUM': u'01ESA20190916134824YA3YJ8'} 914 914 915 915 """
Note: See TracChangeset for help on using the changeset viewer.