+ 2
Rickroll
How do i create a code which will direct me to never gonna give you up
3 Answers
+ 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.
+ 1
Do you mean a clickable button that opens are certain website?
0
Lisa yes*