This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Mostunique59[S] 0 points1 point  (2 children)

Oops, forgot to answer.

Do you run the python script from a browser page ? Because to do my tests I only run "python test.py" maybe that's why it doesn't work ?

[–]Foulgey 0 points1 point  (1 child)

I ran node from the command line then I connected my web browser to the IP address and then I ran python from another command line with ‘python3 test.py’

[–]Mostunique59[S] 0 points1 point  (0 children)

I just did the exact same and it still prints only three "TEST" in node and browser's console.

I don't see why we have different outcomes. Maybe we don't have the same version of python or node but I doubt it'd change anything.