Open thepredator07 opened 3 years ago
Check for the name of the server.py file which was downloaded in the folder JPMC-tech-task-1 in your system
Just check if your using the python version-3 or python 2 file. Parentheses are needed for print function in python 3
For python 3 you need paranthese to print like print( ), where as in pyhton 2 you don't require
if you go down below the pdf of the setup, you can find the answer where you can install dateutil. If it doesn't work let me know
try to do it in repl in python3 otherwise
or you can use the python3 version. i had the same issue but once I used C:\Users\xxx\JPMC-tech-task-1-py3 and then did the python servr3.py and python client3.py it worked
:\Users\xxx\JPMC-tech-task-1>python server.py File "C:\Users\xxx\JPMC-tech-task-1\server.py", line 217 print 'HTTP server started on port 8080' ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print('HTTP server started on port 8080')?