Message from Python discussions
November 2018
— Why
Why would you want to make a .exe
knowing that Python is an interpreted language and you simply have to distribute the .py
file to have your script running? (some setup.cfg will be enough for requirements if it's a big project).exe
will close it only for a single OS, while keeping the .py
will work for many more OSes
— Despite the fact that you will need to package a whole embedded interpreter in the .exe
file, increasing the file size unnecessary
— Yes
— I agree
— +1
— Help me!!!
— Def chat_Client():
while True:
try:
msg = sock.recv(1024).decode('utf8')
msg_list.insert(tk.END, msg)
print(msg)
except OSError:
break
def chatForm():
app.withdraw()
app2 = tk.Tk()
app2.title('naDus')
ventana = tk.Frame(app2, width=750, height=500)
ventana.grid()
my_msg = tk.StringVar()
my_msg.set("")
msg_list = tk.Listbox(app2, background="#FFF", bd=0)
msg_list.place(width=750, height=470, x=0, y=0)
sendMessage = tk.Entry(app2, textvariable=my_msg, bd=0)
sendMessage.bind("<Return>",)
sendMessage.place(width=750, height=30, x=0, y=470)
receive_thread = Thread(target = chat_Client)
receive_thread.start()
— NameError: name 'msg_list' is not defined
— We can just convince microsoft and apple to have python preinstalled on their systems by default
— This is not the appropriate way to ask for help
— I’ll make sure to call billy 2morrow first thing in the morning