title: Creating a temperature program using Python and Tkinter
body: <p>I am writing a small Python/Tkinter program for yearly temperatures. </p>
  
  <p>I can get nearly everything working as a textual program, but I'm wanting to implement it into a GUI. </p>
  
  <p>The program opens a <code>csv</code> file, reads it into lists, works out the average, and min &amp; max temps. Then, on closing, the application will save a summary to a new text file.</p>
  
  <p>I am wanting the default start up screen to show all Years. When a Button is clicked it just shows that year's data.</p>
  
  <p>Here is what I want it to look like:</p>
  
  <p><img src="https://i.stack.imgur.com/DEVph.jpg" alt="enter image description here"></p>
  
  <p>Pretty simple layout, with just the 5 Buttons and the out puts for each. </p>
  
  <p>I can make up the Buttons for the top with:</p>
  
  <pre><code>class App:
  
      def __init__(self, master):
  
          frame = Frame(master)
          frame.pack()
  
          self.hi_there = Button(frame, text="All Years", command=self.All)
          self.hi_there.pack(side=LEFT)
  
          self.hi_there = Button(frame, text="2011", command=self.Y1)
          self.hi_there.pack(side=LEFT)
  
          self.hi_there = Button(frame, text="2012", command=self.Y2)
          self.hi_there.pack(side=LEFT)
  
          self.hi_there = Button(frame, text="2013", command=self.Y3)
          self.hi_there.pack(side=LEFT)
  
          self.hi_there = Button(frame, text="Save &amp; Exit", command=self.Exit)
          self.hi_there.pack(side=LEFT)
  </code></pre>
  
  <p>I'm not sure how to do the other elements, such as the title and the table.</p>
  
  <p>Once I have the structure/framework I think I can populate the fields, and I might learn better this way.</p>