Python. How to print text to console as hyperlink?

前端 未结 3 2044
轻奢々
轻奢々 2020-12-07 04:24

I\'m working on a console application. My application uses urwid lib. In some cases, I need to show very long hyperlinks as short text inside table columns. I want to open l

3条回答
  •  时光取名叫无心
    2020-12-07 05:13

    This is completely not a Python question, bash itself doesn't recognize links. But some terminal emulators does. As example Gnome terminal recognize link with http://google.com or www.google.com, but not simple google.com. http:// or www indicate what this is link. Probably most other terminal emu will do same but I can't say whih exactly.

提交回复
热议问题