How to make web browser using python+tkinter ?| Python | Tkinter

Publié le: 16 septembre 2020
sur la chaîne: Developer
8,359
59

code:- ----------------------------------------------------------------------------------------------------------
from tkinter import *
import webbrowser #use to do operations on webbrowser
root=Tk()
root.title("PY_browser")
def search():
t=e.get() #gets input from the entry box
webbrowser.open(t) #used to open the query said by user in entry box in browser
e=Entry(root,font=("Arial",35,"bold"),width=40,bg="pink",fg="red") # here user gives the input to search
e.pack()
b=Button(root,width=20,bg="lime",fg="blue",font=("Arial",35,"bold"),text="search",command=search) #button gives action by command
b.pack()
root.mainloop()
_________________________________________________________________________
Telegram Groups:
python_tkinter_Project: https://t.me/tkinter_projects
python_tutorial: https://t.me/joinchat/AAAAAFQ088cmgYu...
________________________________________________________________________
Instagram Page:
python.tkinter
________________________________________________________________________
Youtube_tutorial_link:
   • Python-Tkinter Tutorial  
youtube_project_vedios:
   • tkinter-projects  


Sur cette page du site, vous pouvez voir la vidéo en ligne How to make web browser using python+tkinter ?| Python | Tkinter durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Developer 16 septembre 2020, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 8,359 fois et il a aimé 59 téléspectateurs. Bon visionnage!