insidesherpa / JPMC-tech-task-1-PY3

50 stars 447 forks source link

i'm facing an issue when i run python server.py command #163

Open Shivesh72 opened 4 years ago

Shivesh72 commented 4 years ago

it is showing mising parenthesis actually the server file contains old sytax i think it does not uses parenthesis in print and i'm using python 3 so it is causing an error error: C:\Users\shivesh raj\JPMC-tech-task-1>python server.py File "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')?

Shivesh72 commented 4 years ago

please help me soon to do it properly i want to do it

Pranita-7 commented 4 years ago

I'm also facing same issue,please help!

Shivesh72 commented 4 years ago

Which Python version are you using?

On Mon, 24 Aug, 2020, 11:00 PM Pranita-7, notifications@github.com wrote:

I'm also facing same issue,please help!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/insidesherpa/JPMC-tech-task-1-PY3/issues/163#issuecomment-679263920, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQTP6XBXIPRDVQHZ2MGAHBDSCKPR3ANCNFSM4P7EGHVQ .

Shivesh72 commented 4 years ago

If you are using python 3 then write the command Python datafeef/server3.py

On Mon, 24 Aug, 2020, 11:00 PM Pranita-7, notifications@github.com wrote:

I'm also facing same issue,please help!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/insidesherpa/JPMC-tech-task-1-PY3/issues/163#issuecomment-679263920, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQTP6XBXIPRDVQHZ2MGAHBDSCKPR3ANCNFSM4P7EGHVQ .

Pranita-7 commented 4 years ago

I m using python 3.7.4 and I tried datafeef but it is again giving me the error of Errno 2 no such directory or file

Shivesh72 commented 4 years ago

Have you cloned the second file of jp Morgan py3 wala if yes then use this python datafeed/server3.py sorry you were using the typing mistake it's datafeed

On Mon, 24 Aug, 2020, 11:33 PM Pranita-7, notifications@github.com wrote:

I m using python 3.7.4 and I tried datafeef but it is again giving me the error of Errno 2 no such directory or file

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/insidesherpa/JPMC-tech-task-1-PY3/issues/163#issuecomment-679280291, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQTP6XHRMWOWWZ7HYJOCZS3SCKTQHANCNFSM4P7EGHVQ .

Pranita-7 commented 4 years ago

Yes I cloned the second directory and on cloning I got the output "HTTP server started on port 8080" but after this I am not getting anything and also on running the client side I am getting nothing so How shall I proceed further?

subhanshu04 commented 3 years ago

i am also facing the same issue

Someshsw1109 commented 1 year ago

it is showing mising parenthesis actually the server file contains old sytax i think it does not uses parenthesis in print and i'm using python 3 so it is causing an error error: C:\Users\shivesh raj\JPMC-tech-task-1>python server.py File "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')?

*

I think this error message means that you're attempting to run a program that uses the Python 2 print statement... Try print("Write here what you want to print") like this..