Clickable hyperlinks

Rhodri James rhodri at kynesim.co.uk
Mon Jan 9 07:27:38 EST 2017


On 05/01/17 02:53, Deborah Swanson (Deborah Swanson) wrote:
> Rhodri James wrote, on January 05, 2017 3:53 AM
>>
>> On 05/01/17 04:52, Deborah Swanson wrote:
>>> My original question was in fact whether there was a way to make
>>> clickable hyperlinks in a console. I was persuaded after about 10
>>> replies that the answer was no,
>>
>> Then you were persuaded wrong; the actual answer was "this isn't a
>> meaningful question since it's based on incorrect assumptions."
>> Translating that to "No" is just as much a mistake as
>> translating it to
>> "Yes."
>
> Actually, your statement "this isn't a meaningful question since it's based on
> incorrect assumptions" is false. PyCharm outputs clickable links to the
> console, but they aren't web links, they simply link to lines of code.

Nope.  PyCharm outputs text to the console that the console chooses to 
interpret as a link and makes clickable.  As Stephen pointed out right 
back at the beginning of this thread, printing the textual string that 
is a URL could do exactly the same thing *if* the console you print to 
chooses to interpret it as such.  The choice is with the console, not 
your program; that there is the incorrect assumption.

-- 
Rhodri James *-* Kynesim Ltd


More information about the Python-list mailing list