Closed GClover1985 closed 8 years ago
Sorry for the late response. This is caused by your Python version, the dict comprehension {k:v for k in xxx}
syntax is not supported by Python 2.6. I can just change this to another way but there are still a large number of 2.6 incompatible code in this project, I don't have that much time to make the code support for 2.6. Sincerely sorry :(
python httpstat.py httpbin.org/get File "httpstat.py", line 110 grayscale = {(i - 232): make_color('38;5;' + str(i)) for i in xrange(232, 256)} ^ SyntaxError: invalid syntax
Redhat 6.5, Python 2.6