How to set a certain amount of rows and columns of a Tkinter grid?
<p>so I'm trying to create a game of blackjack for my A Level coursework (well, I'm in the early stages) and I'm using a Tkinter grid to position all of my widgets.</p>

<p>I want a grid with 20 columns and 10 rows.
However, in my program, I only use columns 1 to 18 and rows 1 to 18.</p>

<p>How do I tell Tkinter that I still want the columns 0 and 19 and rows 0 and 9 as blank so it doesn't think that I want my grid to have only 9 rows and 19 columns?</p>

<p>Let's say I have this as my basic program:</p>

<pre><code>from tkinter import *
window=Tk()
window.pack()
l=Label(window, text='Label1').grid(column=8, row=1)
l2=Label(window, text='Label2').grid(column=1, row=8)
</code></pre>

<p>So, in this program the grid would think that it needs to have only 9 columns and 9 rows but I actually want a column number 10 (9) as a blank space and a row number 10 (9) as a blank space as well.</p>

<p>Please help, I have to finish this program in two weeks.</p>