[issue43516] python on raspberry pi

2021-03-16 Thread Steven D'Aprano
Steven D'Aprano added the comment: Yann, Eric is correct -- this isn't a help desk. Please ask your question on one of the many forums available for asking help, but before you do, please read: http://www.sscce.org/ https://stackoverflow.com/help/minimal-reproducible-example and remember t

[issue43516] python on raspberry pi

2021-03-16 Thread Eric V. Smith
Eric V. Smith added the comment: You’ve not told us the behavior you see or the behavior you expect, so we can’t tell if this is a bug in python. But it’s in all likelihood not a bug. If you want to get help with your code, I suggest asking on the python-list mailing list or maybe Stackoverf

[issue43516] python on raspberry pi

2021-03-16 Thread Yann Enoti
New submission from Yann Enoti : Any idea why this doesnt work ? import socket HOST = "192.168.2.114" PORT = 8000 #initiate port no above 1024 s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) print('Socket created') #try: s.bind((HOST, PORT)) #bind host address and port together# #exc