Hi guys i coding a chatroom with socket modul in python an i get this error.
I think you can help me.
My code is bellow
`import socket
from tkinter import *
import tkinter as tkinter
import threading
from tkinter import simpledialog
from tkinter import scrolledtext
HOST ="192.168.1.6"
PORT =5051
Hi guys i coding a chatroom with socket modul in python an i get this error. I think you can help me. My code is bellow
`import socket from tkinter import * import tkinter as tkinter import threading from tkinter import simpledialog from tkinter import scrolledtext HOST ="192.168.1.6" PORT =5051
class Client: def init(self, host, port): self.sock =socket.socket(socket.AF_INET, socket.SOCK_STREAM ) self.sock.connect((host, port)) msg = tkinter.Tk() msg.withdraw()
client= Client(HOST, PORT)
`