Como abrir um Web Browser URL Link?
import webbrowser new=2 url="https://www.sapo.pt/" webbrowser.open(url,new=new) ####Atualizado##### import webbrowser new=2 site =str(input('Digite um site: ')) url="https://www."+site+"/" webbrowser.open(url,new=new) #Outra versão from tkinter import * from tkinter import messagebox import webbrowser new = 2 root = Tk() root.geometry( "500x300" ) root.resizable( 0 , 0 ) root.config( bg = "#103030" ) root.title( "Como abrir um Web Browser URL Link?" ) titulo = Label( text = "Como abrir um Web Browser URL Link?" , font =( "Arial" , "18" , "bold" ) , bg = "#103030" , fg = "#49e3e3" ) titulo.place( relx = 0.03 , rely = 0.05 ) site_sub1 = Label( text = "Site" , font =( "Arial" , "17" , "bold" ) , bg = "#103030" , fg = "#49e3e3" ) site_sub1.place( relx = 0.45 , rely = 0.2 )...