title: How do I center a label in Tkinter using Python 3?
body: <p>I started creating a simple game using tkinter and encountered a problem. I search the internet but could not find an answer. My problem is that I cannot figure out how to center a label in tkinter. Here is my code:</p>
  
  <pre><code>from tkinter import * #Imports TK Interface
  import time #Imports Time Module
  welcome = Tk() #Opens the Welcome window
  welcome.title("Start Up") #Names the Wqelcome window 'StartUp'
  welcome.config(bg = "gray") #Changes the Welcome windows background color to beige
  nameLabel = Label(welcome, text="Welcome", bg="gray", fg="white")#Creates the welcome label
  </code></pre>
  
  <p>If you know how to center labels in tkinter, please answer. Thanks!</p>