Message from Python discussions

November 2018

— 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

Message permanent page


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:
msg = sock.recv(1024).decode('utf8')
msg_list.insert(tk.END, msg)
except OSError:

def chatForm():
app2 = tk.Tk()
ventana = tk.Frame(app2, width=750, height=500)
my_msg = tk.StringVar()
msg_list = tk.Listbox(app2, background="#FFF", bd=0), height=470, x=0, y=0)
sendMessage = tk.Entry(app2, textvariable=my_msg, bd=0)
sendMessage.bind("<Return>",), height=30, x=0, y=470)

receive_thread = Thread(target = chat_Client)

Message permanent page

— 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

— Please ? my english is very bad