Python Forum
How to turn screen output into clickable hyperlinks
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to turn screen output into clickable hyperlinks
#2
To do that you are going to have to put the links in a context that understands hyperlinks. The command line doesn't understand hyperlinks, and neither does the interactive interpreter, so print isn't going to work. I think the easiest solution would be to create a simple html file. Add the links to the body of that file, and then use os.open it to open the file in the default web browser. Then they should be able to click on the links.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply


Messages In This Thread
RE: How to turn screen output into clickable hyperlinks - by ichabod801 - Jan-21-2019, 05:09 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Exceeding the value - turn on the relay. stsxbel 0 193 May-27-2024, 07:18 PM
Last Post: stsxbel
Sad "Disabled" Buttons Still Clickable. Nd4SpdSe 3 513 Mar-13-2024, 07:44 AM
Last Post: laughorchestra
  How to "tee" (=split) output to screen and into file? pstein 6 1,665 Jun-24-2023, 08:00 AM
Last Post: Gribouillis
  How do i turn my program into a .exe julio2000 1 1,993 Feb-14-2020, 08:18 PM
Last Post: snippsat
  Turn py into exe tester21 4 3,235 Jul-22-2019, 04:31 PM
Last Post: nilamo
  wn = turtle.screen() AttributeError: module 'turtle' has no attribute 'screen' Shadower 1 6,321 Feb-06-2019, 01:25 AM
Last Post: woooee
  Not sure how to turn this into a loop iamgonge 1 2,185 Dec-05-2018, 11:03 PM
Last Post: anandoracledba
  How to run a python file from html hyperlinks dhinahar 0 2,430 Jul-04-2018, 05:07 PM
Last Post: dhinahar
  Having my output links become clickable bigmit37 8 30,842 May-25-2017, 08:17 PM
Last Post: bigmit37

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020