How to close python 3 external repl tab?
SamuelZaniewski (0)

I am trying to make it so if they say end game then the external repl tab will close itself because i am trying to make a python 3 text based RPG chose your own adventure game.

You are viewing a single comment. View All
a5rocks (787)

You can't control the browser (that would be scary), but you can import sys and run sys.exit()

SamuelZaniewski (0)

@a5rocks Thank you so much! Wish that was possible because this is my code window that runs it as its own tab and i want to exit that :\