0

Can someone help me to print the python output as link but it should display the customized text.

text = "Bug"
url = https://bug.com

i want to display Bug as output, but we click it should redirect to https://bug.com

I'm looking something similar to html anchor tag in python.

<a href = "https://bug.com" >Bug<a>

Thanks

2
  • You could maybe take a look at this post Commented Jul 11, 2020 at 8:15
  • Where are you expecting the python output? In a console as a hyperlink? Maybe this helps. Commented Jul 11, 2020 at 8:28

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.