title: Can you read and write to an exe file through a Tkinter interface
body: <p>I'm trying to figure out if i can read and write to an exe file, iv'e learnt from my mistake of not providing enough information so in this post i'm going to try and describe and give as much information as possible.</p>
  <p>First off i need to clarify what kind of file im trying to read data from. The file is an exe file made with C++ by Mojang, the software can be downloaded from - <a href="https://www.minecraft.net/en-us/download/server/bedrock" rel="nofollow noreferrer">https://www.minecraft.net/en-us/download/server/bedrock</a></p>
  <p><a href="https://i.stack.imgur.com/ONLWc.png" rel="nofollow noreferrer">This is what the interface looks like</a></p>
  <p>What i'm trying to do is run the exe file as a sub process, take the information from the exe file and put it in a label in tkinter that constantly updates, and have a way to communicate with the exe file through an entry in tkinter to execute onboard commands and functions embedded into the exe file. Attached is an image of my interface and where i want the layout to be.</p>
  <pre><code>import tkinter as tk
  
  HEIGHT = 1080
  WIDTH = 1920
  FRAMECOLOR = '#80c1ff'
  root = tk.Tk()
  
  canvas = tk.Canvas(root, height=HEIGHT, width=WIDTH)
  canvas.pack()
  
  frame = tk.Frame(root, bg=FRAMECOLOR, bd=5)
  frame.place(relx=0.35, rely=0.8, relwidth=0.5, relheight=0.1, anchor='n')
  
  lower_frame = tk.Frame(root, bg=FRAMECOLOR, bd=10)
  lower_frame.place(relx=0.35, rely=0.1, relwidth=0.5, relheight=0.67, anchor='n')
  
  button_frame = tk.Frame(root, bg=FRAMECOLOR, bd=10)
  button_frame.place(relx=0.75, rely=0.1, relwidth = 0.25, relheight=0.8, anchor='n')
  
  entry = tk.Entry(frame, font=40)
  entry.place(relwidth=1, relheight=1)
  
  button1 = tk.Button(button_frame, text=&quot;Test Button&quot;, font=40)
  button1.place(relx=0.001, rely=0, relwidth=0.5, relheight=0.1)
  
  label = tk.Label(lower_frame)
  label.place(relwidth=1, relheight=1)
  
  root.mainloop()
  </code></pre>
  <p><a href="https://i.stack.imgur.com/mbzxa.png" rel="nofollow noreferrer">The Layout</a></p>
  <p>Currently this is all the information i can supply. I think i need to say that i am very new to coding so any explanation with answers will be much appreciated.</p>
  <p>Thank You - Connor</p>