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

Аватар автора
Программирование Структура
code:- ---------------------------------------------------------------------------------------------------------- from tkinter import * import webbrowser to do operations on webbrowser root=Tk() root.title("PY_browser") def search(): t=e.get() input from the entry box webbrowser.open(t) 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) gives action by command b.pack() root.mainloop() _________________________________________________________________________ Telegram Groups: ________________________________________________________________________ Instagram Page: python.tkinter ________________________________________________________________________ Youtube_tutorial_link: youtube_project_vedios:

0/0


0/0

0/0

0/0