Город МОСКОВСКИЙ
00:07:14

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

Аватар
Программирование Структура
Просмотры:
40
Дата загрузки:
02.12.2023 06:13
Длительность:
00:07:14
Категория:
Лайфстайл

Описание

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/AAAAAFQ088cmgYuhlXnFiA
________________________________________________________________________
Instagram Page:
python.tkinter
________________________________________________________________________
Youtube_tutorial_link:
https://www.youtube.com/playlist?list=PLjktjXRJSICgxM_awDudPGcslRQAAwOqw
youtube_project_vedios:
https://www.youtube.com/playlist?list=PLjktjXRJSICiqxGNqwC8g7wct_PacQyfe

Рекомендуемые видео