Adding hyperlink to a Tkinter window to open web browser in local computer using webbrowser library

preview_player
Показать описание
We can show one hyper link on a Tkinter window and users can click this link and open the URL ( address of the website ) as given in the link.
We are using webbrowser library open_new() method for this.
Here mouse left button click event is triggered.

Download the source code from here.

#TkinterURL #TkinterLink #webbrowser #TkinterHyperlink #Tkinter #python #plus2net
Рекомендации по теме
Комментарии
Автор

i am taking Import "tkHyperlinkManager" could not be resolved error how can i solve this

gizempoyraz
Автор

That's Nice, i have a doubt ... generally we write code and run it will show the page as per our design, suppose common man want to see the same page, how they can do they don't know how to execute the code and there may be chance the code can be modified by mistake by the common man,
Is there any way if we can make a shortcut(icon) to desktop by clicking that at the background the code will run and gives the PAGE designed.
If u have any such example videos kindly reply.

Thanks you are doing great.

peacelifeofficial
Автор

Thank you for learning I want to type a text in tkinter and in tkinter show me a tex from URL or link I wil glad to guide me

tarazware
Автор

i want to open the wbsite inside a tkinter api how can i do that

vezirmyo