title: How to combine tkinter and turtle?
body: <p>I have a part of codes like this</p>
  
  <pre><code>import turtle
  turtle.bgcolor("green")
  draw = turtle.Turtle()
  draw.speed(1000000)
  draw.hideturtle()
  draw.pensize(3)
  draw.color("white")
  
  def Board (a, x, y, size):
      draw.pu()
      draw.goto(x, y)
      draw.pd()
      for i in range (0, 4):
          draw.forward(size)
          draw.right(90)
  
  x =-40
  y = -40
  size = 40
  for i in range (0, 10):
      for j in range (0, 10):
           Board (draw, x + j*size, y + i*size, size)
  
  turtle.done()
  </code></pre>
  
  <p>And like this</p>
  
  <pre><code>import tkinter
  import tkinter.messagebox
  window = tkinter.Tk()
  def Button_click ():
     tkinter.messagebox.showinfo("Game", "Tic Tac Toe")
  
  button = tkinter.Button(window, text = "Play!", command = Button_click)
  button.pack()
  window.mainloop()
  </code></pre>
  
  <p>Since I'm trying to create a window with a button to enter the TicTacToe game (I haven't finished the rest, just only the board). Is there any way that I can do to combine both turtle and tkinter?
  Thank you</p>