Skip to content

Python3 no connection #3

@kraeml

Description

@kraeml

When running socketServer with python3 I got this error:

python3 socketserverWebREPL.py 
  File "/home/pi/workspace/SocketServerWebREPL/socketserverWebREPL.py", line 518
    print "R: = " + decoded_payload
          ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("R: = " + decoded_payload)?

When change the line 518 into print("R: = " + decoded_payload) then nothing happens

python3 socketserverWebREPL.py 

No message and no server running. No connection.

When change back print "R: = " + decoded_payload and run with pyhton2. The server will run and bipes will connect.

I'm will not running local.

Some suggestions? Thanks

Kraeml

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions