|
|
马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册
x
- D:\Anaconda3\python.exe "D:\Pycharm\PyCharm 2017.3.2\helpers\pydev\pydev_run_in_console.py" 52086 52087 D:/python作业/模拟登陆.py
- Running D:/python作业/模拟登陆.py
- Traceback (most recent call last):
- File "D:\Pycharm\PyCharm 2017.3.2\helpers\pydev\pydev_run_in_console.py", line 52, in run_file
- pydev_imports.execfile(file, globals, locals) # execute the script
- File "D:\Pycharm\PyCharm 2017.3.2\helpers\pydev\_pydev_imps\_pydev_execfile.py", line 18, in execfile
- exec(compile(contents+"\n", file, 'exec'), glob, loc)
- File "D:/python作业/模拟登陆.py", line 10
- fangjianmings = etree.xpath('//h3[@class='DyListCover-intro']')
- ^
- SyntaxError: invalid syntax
- import sys; print('Python %s on %s' % (sys.version, sys.platform))
- sys.path.extend(['D:\\', 'D:/python作业'])
- Python 3.6.3 |Anaconda, Inc.| (default, Oct 15 2017, 03:27:45) [MSC v.1900 64 bit (AMD64)]
- Type 'copyright', 'credits' or 'license' for more information
复制代码 |
|