Questions tagged [python-server-pages]

32 questions
-1
votes
1 answer

How do I accept clients with a python server but also draw an image using Tkinter?

I am trying to write a Python server that works to display the name of a song I'm listening to on Pandora. Whenever the song changes, my Pandora program sends the information about the new song name to my Python server. However, I would like Python…
Dale Markowitz
  • 191
  • 1
  • 1
  • 9
-2
votes
1 answer

Syntax error when trying to run server.py through command prompt

This is the code i am trying to run import socket s = socket.socket() print ("Socket successfully created") port = 12345 s.bind(('', port)) print ("socket binded to %s" %(port)) s.listen(5) …
1 2
3