import pygame
from tkinter import *
import tkinter as tk
root = tk.Tk()
embed = tk.Frame(root, width = 660, height = 600) #creates embed frame for pygame window
embed.grid(columnspan = (700), rowspan = 600) # Adds grid
embed.pack(side = LEFT)
screen = pygame.display.set_mode((660,500))
screen.fill(pygame.Color(255,255,255))
pygame.display.init()
pygame.display.update()
pygame.display.set_caption("Pong Game")
I am trying to show the pygame window in a tkinter frame to place buttons for example. The code provided is similar to Embedding a Pygame window into a Tkinter or WxPython frame but it is not showing any frame in the background.