Cannot run "server.py"
Issue #2
closed
[python-3.7.0 on window 10]
C:\Programs\WebDemo-20150901\WebDemo>python demoapp/server.py
File "demoapp/server.py", line 34
print 'Demo server starting on port %d.' % self.server_address[1]
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print('Demo server starting on port %d.' % self.server_address[1])?
Comments (2)
-
-
reporter - changed status to closed
Get lastest version instead old one
Thank you Suma.
- Log in to comment
Hi Wiriya,
It seems you have an older version of the WebDemo as in the current version the erroneous line is:
You should try to pull the most recent version and try to re-run the application.