使用python访问网页并填写信息(登录)进行提交操作
江湖小酌:
Python 3.7.9 (default, Aug 31 2020, 17:10:11) [MSC v.1916 64 bit (AMD64)] on win32
runfile('C:/Users/Administrator/Desktop/pythonProject/web.py', wdir='C:/Users/Administrator/Desktop/pythonProject')
Traceback (most recent call last):
File "D:\360Downloads\anaconda3\lib\site-packages\IPython\core\interactiveshell.py", line 3417, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "", line 1, in
runfile('C:/Users/Administrator/Desktop/pythonProject/web.py', wdir='C:/Users/Administrator/Desktop/pythonProject')
File "D:\360Downloads\PyCharm 2020.2.2\plugins\python\helpers\pydev\_pydev_bundle\pydev_umd.py", line 197, in runfile
pydev_imports.execfile(filename, global_vars, local_vars) # execute the script
File "D:\360Downloads\PyCharm 2020.2.2\plugins\python\helpers\pydev\_pydev_imps\_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "C:/Users/Administrator/Desk
|