title: Cannot import tkFont
body: <p>I want to import <code>tkFont</code> but it's not working</p>
  <pre><code>from tkinter import *
  
  import tkFont
  
  class BuckysButtons:
  
  def __init__(self,master):
      frame = Frame(master)
      frame.pack() 
  
     helv36 = tkFont.Font(family=&quot;Helvetica&quot;,size=36,weight=&quot;bold&quot;)
  
  
      self.printButton = Button(frame,font=helv36, text =&quot;Print 
      Message&quot;,command = self.printMessage,compound ='top')
      self.printButton.pack(side =LEFT)
      
      self.quitButton = Button(frame, text =&quot;quit&quot;, command = frame.quit)
      self.quitButton.pack(side=LEFT)
  
  
  def printMessage(self):
      print(&quot;It worked!&quot;)
  
       root = Tk()
       b = BuckysButtons(root)
       root.mainloop()
  </code></pre>
  <p>i'm getting following error:</p>
  <pre class="lang-none prettyprint-override"><code>Traceback (most recent call last):
    File &quot;exercise.py&quot;, line 2, in &lt;module&gt;
      import tkFont
  ModuleNotFoundError: No module named 'tkFont'
  </code></pre>