How to add clickable links to open a folder/file in output of a print statement? (Python desktop application)
hyperlink, output, python
Solution
Are you talking about straight forward Python, no frameworks? Why not just print what you want? `print('<a href="http://www.example.com">example text</a>')`
Problem
I wanted to add clickable links to python output. I am outputting the file path & it's contents. Can someone please tell me how to make them clickable, so that when user clicks on them to navigate there directly. I found this one, but it's for Django web part of Python. I am looking for desktop links How to add clickable links to a field in Django admin? Thanks in advance, Phani