I'm currently developing a website with the SST - Web Test Framework (i'm very beginner) but I have a problem with python
I used this Link: https://pypi.python.org/pypi/sst/0.2.2
I m using - Python 3.6.4 and SST - Web Test Framework- Latest Version: 0.2.4
My Code is:
from sst.actions import *
go_to('http://www.google.com/')
Error is:
C:\Python\scrapy-master\Projects>python proxyhar.py
Traceback (most recent call last):
File "proxyhar.py", line 1, in <module>
from sst.actions import *
File "C:\Python\lib\site-packages\sst\actions.py", line 274, in <module>
except OSError, e:
^
SyntaxError: invalid syntax
Anyone suggest me how to resolve this.
Thank you
Python 3 has changed how this expression should be written. From the documentation, it is now except OSError as e
.
Note that in Python 2, both comma and as
were permitted.