Output not opening

Problem description

When I enter my code that worked fine previously the output no longer comes up (Python). It is also not an option in the tabs anymore. I have tried using Kill 1, different browser, etc.

Expected behavior

Should open an output tab

Actual behavior

Doesn’t open the output tab, can’t add it either. It isn’t an option.

Steps to reproduce

This is the code I am currently trying to get to work- but it happens anytime I open a new replit. My previous replits still load the output function.

import tkinter as tk 
window=tk.Tk()
for i in range(3): 
	for j in range(3): 
		frame=tk.Frame(
			master=window,
			relief=tk.RAISED,
			borderwidth=1
		)
		frame.grid(row=i,column=j)
		label=tk.Label(
			master=frame,
			text=f"Row {i}\nColumn {j}"
		)
		label.pack()
window.mainloop()

Browser

Chrome

OS

Windows

Device if mobile

N/A

Plan

Free

Hello!

Can you please check to see whether the following is in your .replit file?

[[ports]]
localPort = 5900
externalPort = 80

If it’s not there, adding it to the bottom may help.

2 Likes

Hi @gmussellwhite1 , welcome to the forums!
Can you try creating a new tkinter repl under replit.com/new, and move your code there?
Hope this helps!

2 Likes