Tkinter, is it possible to def button(a,b,c,e) : <p>I'm a newbie so I'm possibly missing other way to do something like this. Im trying to: </p>

<pre><code>def button(a,b,c,d,e,f):
    a=ttk.Button(b,text=c,command=d)
    a.grid(row=e, column=f)
</code></pre>

<p>so that i can creat buttons like this:</p>

<pre><code>button(a,b,c,d,e,f)
</code></pre>
