tkinter variable.grid(row=0)
<p>I have started working with tkinter and I have such problems. For example, </p>

<pre><code>from tkinter import *

root = Tk()

frame = Frame(root)
frame.pack()

theLabel = Label(root, text="bla bla")
theLabel.grid(row=0)

root.mainloop()
</code></pre>

<p>This code does not work and gives an error like that. </p>

<pre><code>File "C:\Users\Kenan\AppData\Local\Programs\Python\Python35-32\lib\tkinter\__init__.py", line 2074, in grid_configure
    + self._options(cnf, kw))
_tkinter.TclError: cannot use geometry manager grid inside . which already has slaves managed by pack
</code></pre>