Open edwardyeung opened 10 years ago
import mechanize br = mechanize.Browser() br.set_handle_robots(False) br.open('https://login.taobao.com/member/login.jhtml?redirectURL=http%3A%2F%2Ftrade.taobao.com%2Ftrade%2Fitemlist%2Flist_bought_items.htm%3Fspm%3D1.7274553.1997525045.2.MVZkiW') br.select_form(nr=0)
Use these code it will cause a problem which is from _form.py line 149.
It says "ValueError: unichr() args not in range(0x10000) (narrow python build)
My system is windows 8 python 32bit
import mechanize br = mechanize.Browser() br.set_handle_robots(False) br.open('https://login.taobao.com/member/login.jhtml?redirectURL=http%3A%2F%2Ftrade.taobao.com%2Ftrade%2Fitemlist%2Flist_bought_items.htm%3Fspm%3D1.7274553.1997525045.2.MVZkiW') br.select_form(nr=0)
Use these code it will cause a problem which is from _form.py line 149.
It says "ValueError: unichr() args not in range(0x10000) (narrow python build)
My system is windows 8 python 32bit