Why is my code returning "name 'Button' is not defined"?
<p>my code is giving me this error and I can't for the life of me figure out why it's telling me "NameError: name 'Button' is not defined." In Tkinter I thought Button was supposed to add a button?</p>

<pre><code>import Tkinter

gameConsole = Tkinter.Tk()
#code to add widgets will go below

#creates the "number 1" Button
b1 = Button(win,text="One")

gameConsole.wm_title("Console")
gameConsole.mainloop()
</code></pre>

<p>A few options available to source the namespace:</p>

<ul>
<li><p><code>from Tkinter import Button</code> Import the specific class.</p></li>
<li><p><code>import Tkinter</code> -> <code>b1 = Tkinter.Button(win,text="One")</code> Specify the the namespace inline.</p></li>
<li><p><code>from Tkinter import *</code> Imports everything from the module.</p></li>
</ul>

python tkinter pycharm