Do you want to write a lot of links? If there is less, just write it directly in word or excel, then click on the hyperlink and write the name you want to write where the name is displayed. If you want to do it in Python, as far as I know there is no such function. Python needs to install libraries to operate word and excel.
As far as I know, the file formats that support hyperlink clicks are word, excel, pdf, epub, mobi, maketown, etc., so you must first determine what format the file you want is. Then find the corresponding library to implement it. Ordinary txt text does not support hyperlinks unless you use makedown syntax [网址之家](http://www.hao123.com), Website Home and then implement it in the mk editor.
Do you want to write a lot of links? If there is less, just write it directly in word or excel, then click on the hyperlink and write the name you want to write where the name is displayed. If you want to do it in Python, as far as I know there is no such function. Python needs to install libraries to operate word and excel.
Write an html
As far as I know, the file formats that support hyperlink clicks are word, excel, pdf, epub, mobi, maketown, etc., so you must first determine what format the file you want is. Then find the corresponding library to implement it. Ordinary txt text does not support hyperlinks unless you use makedown syntax
[网址之家](http://www.hao123.com)
,Website Home
and then implement it in the mk editor.