+ 2

Rickroll

How do i create a code which will direct me to never gonna give you up

18th Aug 2022, 5:13 PM
Karthik Chavan
Karthik Chavan - avatar
3 odpowiedzi
+ 2
You need a module that allows you to create a graphical user interface ("a window"), for example tkinter. Then you can create a button and attach a function to it that directs one the website when clicked. Example for tkinter button: https://www.tutorialspoint.com/JUMP_LINK__&&__python__&&__JUMP_LINK/tk_button.htm Please mind that graphical user interfaces won't work on sololearn Python playground as on your own computer.
18th Aug 2022, 6:04 PM
Lisa
Lisa - avatar
+ 1
Do you mean a clickable button that opens are certain website?
18th Aug 2022, 5:41 PM
Lisa
Lisa - avatar
0
Lisa yes*
18th Aug 2022, 5:59 PM
Karthik Chavan
Karthik Chavan - avatar